Changeset 8509 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 24 May 2012, 15:22:10 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py
r8380 r8509 34 34 from waeup.kofa.interfaces import ( 35 35 IBatchProcessor, FatalCSVError, IObjectConverter, 36 ICSVExporter, IGNORE_MARKER )36 ICSVExporter, IGNORE_MARKER, DuplicationError) 37 37 38 38 class BatchProcessor(grok.GlobalUtility): … … 347 347 failed_writer, string_row, 348 348 "%s Skipping." % error.message) 349 except DuplicationError, error: 350 num_warns += 1 351 self.writeFailedRow( 352 failed_writer, string_row, 353 "%s Skipping." % error.msg) 349 354 continue 350 355 elif mode == 'remove':
Note: See TracChangeset for help on using the changeset viewer.