/[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.9 by dagobah, Sun Aug 1 04:55:30 2004 UTC revision 1.10 by cameron, Sun Aug 1 05:33:27 2004 UTC
# Line 63  class VendingMachine: Line 63  class VendingMachine:
63                          while s == '':                          while s == '':
64                                  s = self.rfh.readline()                                  s = self.rfh.readline()
65                                  if s == '':                                  if s == '':
66                      raise VendingException('Input socket has closed!')                                          raise VendingException('Input socket has closed!')
67                                  s = s.strip('\r\n')                                  s = s.strip('\r\n')
68                          code = s[0:3]                          code = s[0:3]
69                          text = s[4:]                          text = s[4:]

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26