Changeset 15964 for main/waeup.kofa/trunk/src/waeup/kofa/utils
- Timestamp:
- 28 Jan 2020, 12:39:18 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py
r15833 r15964 272 272 subject, body, config) 273 273 274 def getUsers(self): 275 users = sorted( 276 grok.getSite()['users'].items(), key=lambda x: x[1].title) 277 for key, val in users: 278 yield(dict(name=key, val="%s (%s)" % (val.title, val.name))) 279 274 280 @property 275 281 def tzinfo(self):
Note: See TracChangeset for help on using the changeset viewer.