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