Commit b2ec658b authored by Antoine Catton's avatar Antoine Catton

Use string instead of a list of one element in portal_catalog search.

This avoid looping on one item.
parent daebc856
......@@ -62,7 +62,7 @@ while (predecessor_software_instance is not None):\n
portal_type=["Software Instance", "Slave Instance"])\n
\n
root_hosting_subscription = root_software_instance.getPredecessorRelatedValue(\n
portal_type=["Hosting Subscription"])\n
portal_type="Hosting Subscription")\n
\n
# XXX-Antoine: As Romain wanted it, we raise an error if it\'s not attached to a\n
# root Hosting Subscription.\n
......
327
\ No newline at end of file
328
\ 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