Changeset 8543 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 29 May 2012, 10:48:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/container.py
r8540 r8543 32 32 if container is not None: 33 33 key = r().randint(99999,1000000) 34 while keyin container.keys():34 while str(key) in container.keys(): 35 35 key = r().randint(99999,1000000) 36 36 return u"%s_%d" % (container.code, key)
Note: See TracChangeset for help on using the changeset viewer.