Revision 333
Added by Aaron Marcuse-Kubitza almost 13 years ago
bin/map | ||
---|---|---|
168 | 168 |
try: |
169 | 169 |
db_xml.put(out_db, child, False, row_ct_ref, out_pkeys) |
170 | 170 |
if commit: out_db.commit() |
171 |
except Exception:
|
|
171 |
except DatabaseError:
|
|
172 | 172 |
out_db.rollback() |
173 | 173 |
traceback.print_exc() |
174 | 174 |
root.clear() |
Also available in: Unified diff
bin/map: Only treat DatabaseErrors as warnings, not all Exceptions