Changeset 5813 for main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Timestamp:
- 7 Mar 2011, 13:27:42 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/root.py
r5804 r5813 132 132 exists. 133 133 134 `identifier` can be an access code or a JAMB registration 135 number. For JAMB screened applicants we use the JAMB 136 registration number as key, for other applicants we use the 137 access code. 134 `identifier` will normally be an access code. 138 135 """ 139 136 site = grok.getSite() 140 if identifier in site['applications'].keys(): 141 return True 137 for container in site['applicants'].values(): 138 if identifier in container.keys(): 139 return True 142 140 return False
Note: See TracChangeset for help on using the changeset viewer.