Changeset 3161 for WAeUP_SRP/base


Ignore:
Timestamp:
14 Feb 2008, 00:15:37 (17 years ago)
Author:
Henrik Bettermann
Message:

temporary fix

PLEASE CHECK!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r3160 r3161  
    21972197                    logger.info("imported %d pending imports" % len(pending_imported_ids))
    21982198                for id in pending_imported_ids:
    2199                     del pending_records[id]
     2199                    if id:
     2200                        del pending_records[id]
     2201                    else:
     2202                        logger.info("tried to delete record with empty id")
    22002203            pending_imports_file = open(pending_fn,'w')
    22012204            pending_csv_writer = csv.DictWriter(pending_imports_file,
Note: See TracChangeset for help on using the changeset viewer.