Changeset 1753 for WAeUP_SRP/trunk/WAeUPTool.py
- Timestamp:
- 8 May 2007, 10:02:01 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1752 r1753 777 777 adapters = [MappingStorageAdapter(schema, item)] 778 778 dm = DataModel(item, adapters,context=self) 779 logger.info('Start importing from %s.csv' % name)779 logger.info('Start importing from %s.csv' % filename) 780 780 import_keys = item.keys() 781 781 diff_set = set(import_keys).difference(set(schema.keys())) … … 787 787 logger.error('%s not in layout.' % diff_set) 788 788 return 789 s = ' "id",'+','.join(['"%s"' % fn for fn in import_keys])789 s = ','.join(['"%s"' % fn for fn in import_keys]) 790 790 imported.append(s) 791 791 not_imported.append('%s,"Error"' % s)
Note: See TracChangeset for help on using the changeset viewer.