Ignore:
Timestamp:
12 Feb 2011, 13:24:16 (14 years ago)
Author:
uli
Message:

Rename jamb data importer and use jambdata as root folder instead of
applications.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/jambtables/batching.py

    r5689 r5728  
    2828from waeup.sirp.applicants.jambtables.interfaces import IApplicantPDEImportData
    2929
    30 class ApplicantImporter(BatchProcessor):
     30class JAMBDataImporter(BatchProcessor):
    3131    """An importer for applicants.
    3232    """
     
    3434    grok.provides(IBatchProcessor)
    3535    grok.context(Interface)
    36     util_name = 'applcation importer'
     36    util_name = 'application importer'
    3737    grok.name(util_name)
    3838
    39     name = u'Application Importer'
     39    name = u'JAMB Data Importer'
    4040    mode = u'create'
    4141    iface = IApplicantPDEImportData
     
    4545
    4646    def parentsExist(self, row, site):
    47         return 'applications' in site.keys()
     47        return 'jambdata' in site.keys()
    4848
    4949    def entryExists(self, row, site):
    50         return row['reg_no'] in site['applications'].keys()
     50        return row['reg_no'] in site['jambdata'].keys()
    5151
    5252    def getParent(self, row, site):
    53         return site['applications']
     53        return site['jambdata']
    5454
    5555    def getEntry(self, row, site):
Note: See TracChangeset for help on using the changeset viewer.