Changeset 4471 for waeup/branches/ulif-rewrite
- Timestamp:
- 28 Jul 2009, 13:58:58 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/utils/csvimport.py
r4390 r4471 186 186 grok.provides(IWAeUPCSVImporter) 187 187 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(): 195 194 new_item = createObject(u'waeup.CertificateCourse') 196 195 code = row['code']
Note: See TracChangeset for help on using the changeset viewer.