Changeset 5451 for main/waeup.sirp/trunk/src/waeup/sirp/jambtables
- Timestamp:
- 18 Aug 2010, 12:18:41 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/jambtables/util.py
r5450 r5451 46 46 return (applicant_data, entries[0]) 47 47 48 def application_exists(access_code): 49 """Check whether an application for the given access code already exists. 48 def application_exists(identifier): 49 """Check whether an application for the given identifier already 50 exists. 50 51 52 `identifier` can be an access code or a JAMB registration 53 number. For JAMB screened applicants we use the JAMB 54 registration number as key, for other applicants we use the 55 access code. 51 56 """ 52 57 site = grok.getSite() 53 if access_codein site['applications'].keys():58 if identifier in site['applications'].keys(): 54 59 return True 55 60 return False
Note: See TracChangeset for help on using the changeset viewer.