Ignore:
Timestamp:
8 May 2007, 10:02:01 (18 years ago)
Author:
Henrik Bettermann
Message:

session_results_view without accessing returning_import
not_imported file format corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTool.py

    r1752 r1753  
    777777                adapters = [MappingStorageAdapter(schema, item)]
    778778                dm = DataModel(item, adapters,context=self)
    779                 logger.info('Start importing from %s.csv' % name)
     779                logger.info('Start importing from %s.csv' % filename)
    780780                import_keys = item.keys()
    781781                diff_set = set(import_keys).difference(set(schema.keys()))
     
    787787                    logger.error('%s not in layout.' % diff_set)
    788788                    return
    789                 s = '"id",'+','.join(['"%s"' % fn for fn in import_keys])
     789                s = ','.join(['"%s"' % fn for fn in import_keys])
    790790                imported.append(s)
    791791                not_imported.append('%s,"Error"' % s)
Note: See TracChangeset for help on using the changeset viewer.