Changeset 11849
- Timestamp:
- 18 Oct 2014, 20:48:01 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py
r11737 r11849 35 35 from zope.interface import Interface, implementer 36 36 from zope.schema import getFields 37 from zope.schema.interfaces import ConstraintNotSatisfied 37 38 from zope.event import notify 38 39 from waeup.kofa.async import AsyncJob … … 376 377 failed_writer, string_row, update_errors) 377 378 continue 378 self.updateEntry(obj, row, site, base) 379 try: 380 self.updateEntry(obj, row, site, base) 381 except ConstraintNotSatisfied, err: 382 num_warns += 1 383 self.writeFailedRow( 384 failed_writer, string_row, 385 "ConstraintNotSatisfied: %s" % err) 386 continue 379 387 finished_writer.writerow(string_row) 380 388
Note: See TracChangeset for help on using the changeset viewer.