Ignore:
Timestamp:
9 Mar 2008, 16:42:16 (17 years ago)
Author:
Henrik Bettermann
Message:

import_keys was not defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r3292 r3300  
    488488        csv_writer.writerows(l)
    489489    ###)
    490    
     490
    491491    security.declareProtected(ManagePortal, 'listStudents') ###(
    492492    def listStudents(self):
     
    521521        csv_writer = csv.DictWriter(out,fields,)
    522522        csv_writer.writerows(l)
    523     ###)   
     523    ###)
    524524
    525525    security.declareProtected(ManagePortal, 'removeDeletedDocIds') ###(
     
    14781478            return 'not ignorable key(s): "%s" found in heading' % ", ".join(invalid_keys)
    14791479
    1480         # import_keys = [k.strip() for k in headline if not (k.strip().startswith('ignore')
    1481         #                                                 or k.strip() in info.keys())]
     1480        import_keys = [k.strip() for k in headline if not (k.strip().startswith('ignore')
     1481                                                         or k.strip() in info.keys())]
    14821482        # diff2schema = set(import_keys).difference(set(importer.schema.keys()))
    14831483        # diff2layout = set(import_keys).difference(set(importer.layout.keys()))
Note: See TracChangeset for help on using the changeset viewer.