Changeset 5798 for main/waeup.sirp/trunk
- Timestamp:
- 7 Mar 2011, 02:11:59 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/jambtables/jambtables.py
r5773 r5798 106 106 self.setup(site, name, logger) 107 107 return 108 109 def get_jambdata(reg_no): 110 """Get a JAMB data set stored in site-wide JAMB data folder. 111 112 `reg_no` 113 A string. The registration number assigned for the looked up 114 applicant. 115 116 It is quite easy to get JAMB datasets from a waeup.sirp site 117 'manually' but you are encouraged to use this function instead, as 118 the method to store JAMB data might change in future releases. 119 120 Returns the applicant data if found or ``None``. 121 """ 122 site = grok.getSite() 123 return site['jambdata'].get(reg_no, None)
Note: See TracChangeset for help on using the changeset viewer.