Changeset 15965 for main/waeup.aaue/trunk/src/waeup/aaue
- Timestamp:
- 28 Jan 2020, 12:43:56 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py
r15862 r15965 20 20 21 21 import string 22 import grok 22 23 from kofacustom.nigeria.utils.utils import NigeriaKofaUtils 23 24 from waeup.kofa.students.workflow import ALUMNI_STATES … … 309 310 return 'XXX' 310 311 return fullname 312 313 def getUsers(self): 314 users = sorted( 315 grok.getSite()['users'].items(), key=lambda x: x[0]) 316 for key, val in users: 317 yield(dict(name=key, val="%s - %s" % (val.name, val.title)))
Note: See TracChangeset for help on using the changeset viewer.