Commit cdbc7710 authored by Łukasz Nowak's avatar Łukasz Nowak

Debug in debug way.

Expose the path, as method is used during reindexation, so there might be no
way to find the object by reference.
parent a45fee14
...@@ -80,7 +80,7 @@ if root_hosting_subscription is None:\n ...@@ -80,7 +80,7 @@ if root_hosting_subscription is None:\n
root_hosting_subscription = instance_setup_line.getAggregateValue(portal_type=\'Hosting Subscription\')\n root_hosting_subscription = instance_setup_line.getAggregateValue(portal_type=\'Hosting Subscription\')\n
if root_hosting_subscription is None:\n if root_hosting_subscription is None:\n
raise ConsistencyError(("Software instance %s has no hosting "\n raise ConsistencyError(("Software instance %s has no hosting "\n
"subscription as root.") % context.getReference())\n "subscription as root.") % context.getPath())\n
\n \n
return root_hosting_subscription.getUid()\n return root_hosting_subscription.getUid()\n
</string> </value> </string> </value>
......
409 410
\ No newline at end of file \ No newline at end of file
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