Revision 14
Added by Aaron Marcuse-Kubitza about 13 years ago
xml_db.py | ||
---|---|---|
74 | 74 |
break |
75 | 75 |
except db_util.NullValueException, ex: |
76 | 76 |
if try_num > 0: raise # exception still raised after retry |
77 |
# Search for required column in ancestors and their children |
|
77 | 78 |
target = find_by_name(node, ptr_type(ex.col)) |
78 | 79 |
if target == None: raise |
79 | 80 |
row[ex.col] = xml_util.get_id(target) |
Also available in: Unified diff
Changed xml2db to avoid inserting duplicate rows