/[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.17 by dagobah, Sat May 7 12:01:11 2005 UTC revision 1.18 by dagobah, Fri Mar 2 12:33:13 2007 UTC
# Line 94  class VendingMachine: Line 94  class VendingMachine:
94                  elif code == '401':                  elif code == '401':
95                          self.events.append((DOOR, 0))                          self.events.append((DOOR, 0))
96                  elif code == '610':                  elif code == '610':
97                          self.events.append((SWITCH, None))                          # NOP this. Nothing handles this yet.
98                            #self.events.append((SWITCH, None))
99                          self.interpret_switches(text)                          self.interpret_switches(text)
100                  elif code[0] == '2':                  elif code[0] == '2':
101                          self.events.append((KEY, int(code[1:3])))                          self.events.append((KEY, int(code[1:3])))

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26