Changeset 3148 for WAeUP_SRP/base
- Timestamp:
- 12 Feb 2008, 13:46:54 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r3147 r3148 2185 2185 if is_pending: 2186 2186 continue 2187 if error: 2188 continue 2187 2189 msg = format % item 2188 2190 logger.info("imported from %(pending_fn)s %(msg)s" % vars()) … … 2190 2192 pending_imported_ids += id, 2191 2193 total_pending_imported = len(pending_imported_ids) 2192 2194 logger.info("imported %d pending imports" % len(pending_imported_ids)) 2193 2195 for id in pending_imported_ids: 2194 del pending_records[id] 2196 if pending_records.has_key(id): 2197 del pending_records[id] 2195 2198 pending_imports_file = open(pending_fn,'w') 2196 2199 pending_csv_writer = csv.DictWriter(pending_imports_file,
Note: See TracChangeset for help on using the changeset viewer.