/[anoncvs]/projects/dispense2/sql-edition/servers/VendingMachine.py


UCC Code Repository

Diff of /projects/dispense2/sql-edition/servers/VendingMachine.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by dagobah, Sun Jun 27 03:39:41 2004 UTC revision 1.5 by dagobah, Sun Jun 27 11:06:54 2004 UTC
# Line 149  class VendingMachine: Line 149  class VendingMachine:
149                          (r, _, _) = select([self.rfh], [], [], timeout)                          (r, _, _) = select([self.rfh], [], [], timeout)
150                          if r:                          if r:
151                                  self.get_response(async = True)                                  self.get_response(async = True)
152                                    timeout = 0
153                          else:                          else:
154                                  break                                  break
155                  if len(self.events) == 0: return None                  if len(self.events) == 0: return None

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26