Ignore:
Timestamp:
28 Jul 2009, 13:58:58 (15 years ago)
Author:
uli
Message:

Fix importer name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/utils/csvimport.py

    r4390 r4471  
    186186    grok.provides(IWAeUPCSVImporter)
    187187
    188     datatype = u'Certificate Importer'
    189 
    190     def doImport(self, clear_old_data=True, overwrite=True):
    191         # CSVImporter instances have a `csvfile` and a `receiver`
    192         # object defined which refer to the CSV file and the container.
    193         for row in self.csvfile.getData():
    194 
     188    datatype = u'Certificate Course Importer'
     189
     190    def doImport(self, clear_old_data=True, overwrite=True):
     191        # CSVImporter instances have a `csvfile` and a `receiver`
     192        # object defined which refer to the CSV file and the container.
     193        for row in self.csvfile.getData():
    195194            new_item = createObject(u'waeup.CertificateCourse')
    196195            code = row['code']
Note: See TracChangeset for help on using the changeset viewer.