Changeset 6219 for main/waeup.sirp/trunk/src/waeup/sirp/utils
- Timestamp:
- 29 May 2011, 10:19:58 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/utils/batching.py
r5009 r6219 279 279 self.writeFailedRow( 280 280 failed_writer, raw_row, 281 "This object already exists . Skipping.")281 "This object already exists in the same container. Skipping.") 282 282 continue 283 283 obj = self.callFactory() 284 #import pdb; pdb.set_trace() 284 285 for key, value in row.items(): 285 286 setattr(obj, key, value) 286 self.addEntry(obj, row, site) 287 if not self.addEntry(obj, row, site): 288 num_warns += 1 289 self.writeFailedRow( 290 failed_writer, raw_row, 291 "This object code already exists somewhere else. Skipping.") 292 continue 287 293 elif mode == 'remove': 288 294 if not self.entryExists(row, site):
Note: See TracChangeset for help on using the changeset viewer.