Changeset 7477 for main/waeup.sirp/trunk/src/waeup/sirp/utils
- Timestamp:
- 15 Jan 2012, 10:38:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/utils/utils.py
r7471 r7477 56 56 57 57 def fullname(self,firstname,lastname,middlename=None): 58 """Full name constructor. 59 """ 58 60 # We do not necessarily have the middlename attribute 59 61 if middlename: … … 65 67 66 68 def genPassword(self, length=8, chars=string.letters + string.digits): 69 """Generate a random password. 70 """ 67 71 return ''.join([r().choice(chars) for i in range(length)]) 68 72
Note: See TracChangeset for help on using the changeset viewer.