Changeset 3148 for WAeUP_SRP


Ignore:
Timestamp:
12 Feb 2008, 13:46:54 (17 years ago)
Author:
joachim
Message:

should fix traceback during pending_only import

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r3147 r3148  
    21852185                    if is_pending:
    21862186                        continue
     2187                    if error:
     2188                        continue
    21872189                    msg = format % item
    21882190                    logger.info("imported from %(pending_fn)s %(msg)s" % vars())
     
    21902192                    pending_imported_ids += id,
    21912193                    total_pending_imported = len(pending_imported_ids)
    2192                     logger.info("imported %d pending imports" % len(pending_imported_ids))
     2194                logger.info("imported %d pending imports" % len(pending_imported_ids))
    21932195                for id in pending_imported_ids:
    2194                     del pending_records[id]
     2196                    if pending_records.has_key(id):
     2197                        del pending_records[id]
    21952198            pending_imports_file = open(pending_fn,'w')
    21962199            pending_csv_writer = csv.DictWriter(pending_imports_file,
Note: See TracChangeset for help on using the changeset viewer.