- Timestamp:
- 12 Feb 2011, 13:24:16 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/jambtables/batching.py
r5689 r5728 28 28 from waeup.sirp.applicants.jambtables.interfaces import IApplicantPDEImportData 29 29 30 class ApplicantImporter(BatchProcessor):30 class JAMBDataImporter(BatchProcessor): 31 31 """An importer for applicants. 32 32 """ … … 34 34 grok.provides(IBatchProcessor) 35 35 grok.context(Interface) 36 util_name = 'appl cation importer'36 util_name = 'application importer' 37 37 grok.name(util_name) 38 38 39 name = u' ApplicationImporter'39 name = u'JAMB Data Importer' 40 40 mode = u'create' 41 41 iface = IApplicantPDEImportData … … 45 45 46 46 def parentsExist(self, row, site): 47 return ' applications' in site.keys()47 return 'jambdata' in site.keys() 48 48 49 49 def entryExists(self, row, site): 50 return row['reg_no'] in site[' applications'].keys()50 return row['reg_no'] in site['jambdata'].keys() 51 51 52 52 def getParent(self, row, site): 53 return site[' applications']53 return site['jambdata'] 54 54 55 55 def getEntry(self, row, site):
Note: See TracChangeset for help on using the changeset viewer.