Commit 2f7f6692 authored by Łukasz Nowak's avatar Łukasz Nowak

Survive on damaged system or test environment.

parent 84a05dc7
...@@ -68,8 +68,9 @@ software_instance_list = obj.getPortalObject().portal_catalog(\n ...@@ -68,8 +68,9 @@ software_instance_list = obj.getPortalObject().portal_catalog(\n
\n \n
if len(software_instance_list) == 1:\n if len(software_instance_list) == 1:\n
hosting_subscription = software_instance_list[0].getSpecialise(portal_type=\'Hosting Subscription\')\n hosting_subscription = software_instance_list[0].getSpecialise(portal_type=\'Hosting Subscription\')\n
for base_category in base_category_list:\n if hosting_subscription is not None:\n
category_list.append({base_category: hosting_subscription})\n for base_category in base_category_list:\n
category_list.append({base_category: hosting_subscription})\n
\n \n
return category_list\n return category_list\n
</string> </value> </string> </value>
......
23 24
\ 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