Commit 6e48b97e authored by Boris Kocherov's avatar Boris Kocherov

gen_id_from_reference: fix log warning report

parent a9be9c18
......@@ -100,7 +100,10 @@ def GenerateIdFromReferenceMixin(prefix):
except ActivityPendingError:
parent = self.getParentValue()
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 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