Commit 244b26a2 authored by marc duez's avatar marc duez

migrator.py : IDmapper ignore empty values

parent 82fdbfc8
......@@ -78,6 +78,8 @@ class IdMapper():
self.mapping = {}
def getMatchingId(self, oid):
if oid is None:
return oid
if oid not in self.mapping:
self.log.debug('id %d not in mapping, returning it' % oid)
self.log.debug("mapping: " + str(self.mapping.keys()))
......
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