Changeset 5095 for main/waeup.sirp/trunk
- Timestamp:
- 31 Mar 2010, 00:42:48 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py
r5086 r5095 75 75 for x in range(10): 76 76 result += str(random().randint(0, 9)) 77 self._used.append(result) 77 78 return result 78 79 … … 88 89 batch.createEntries() 89 90 self._p_changed = True 90 self.curr_num += 191 91 92 92 def getNum(self, prefix): … … 98 98 num += 1 99 99 return num 100 100 101 101 class AccessCodePlugin(grok.GlobalUtility): 102 102 grok.name('accesscodes')
Note: See TracChangeset for help on using the changeset viewer.