Commit 13803b91 authored by marc duez's avatar marc duez

migrator.py : remove potentialy dangerous log

log can fail if case of empty value
parent 97075f09
Pipeline #175712 failed with stages
in 31 seconds
......@@ -227,7 +227,7 @@ class Importer():
for key in ref_fields:
ref_key = ref_fields[key]
matching_id = self.mappings[key].getMatchingId(val[ref_key])
self.log.debug("%s replacing %s: %d with %d" % (table, ref_key, val[ref_key], matching_id))
#self.log.debug("%s replacing %s: %d with %d" % (table, ref_key, val[ref_key], matching_id))
val[ref_key] = matching_id
oid = db[table].insert(**val)
self.log.debug("new %s: %d" % (table, oid))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment