Changeset 5116 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 2 Apr 2010, 13:13:11 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py
r5112 r5116 55 55 self.creation_date = creation_date 56 56 self.creator = creator 57 self.prefix = batch_prefix 57 self.prefix = batch_prefix.upper() 58 58 self.cost = cost 59 59 self.entry_num = entry_num … … 132 132 """ 133 133 num = 1 134 prefix = prefix.upper() 135 while self.get('%s-%s' % (prefix, num), None): 134 while self.get('%s-%s' % (prefix, num), None) is not None: 136 135 num += 1 137 136 return num
Note: See TracChangeset for help on using the changeset viewer.