Project

General

Profile

« Previous | Next » 

Revision 333

bin/map: Only treat DatabaseErrors as warnings, not all Exceptions

View differences:

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