Commit a38140bc authored by Boris Kocherov's avatar Boris Kocherov Committed by Romain Courteaud

gen_id_from_reference: fix log warning report

parent e05e9a4d
...@@ -100,7 +100,10 @@ def GenerateIdFromReferenceMixin(prefix): ...@@ -100,7 +100,10 @@ def GenerateIdFromReferenceMixin(prefix):
except ActivityPendingError: except ActivityPendingError:
parent = self.getParentValue() parent = self.getParentValue()
LOG("GenerateIdFromReferenceMixin", WARNING, "Skipping migration of %r in %r" LOG("GenerateIdFromReferenceMixin", WARNING, "Skipping migration of %r in %r"
" %s, due to pending activities" % (old_id, parent.getId(), parent.getPortalType())) " %s, due to pending activities" % (ob_id, parent.getId(), parent.getPortalType()))
self._v_idmigration = False
return ob_id
self._v_idmigration = False
return new_id return new_id
return ob_id return ob_id
......
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