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

Return only available softwares.

parent 5cda4356
...@@ -56,9 +56,10 @@ for software_installation in context.getPortalObject().portal_catalog(\n ...@@ -56,9 +56,10 @@ for software_installation in context.getPortalObject().portal_catalog(\n
validation_state=\'validated\',\n validation_state=\'validated\',\n
default_aggregate_uid=context.getUid()\n default_aggregate_uid=context.getUid()\n
):\n ):\n
url_string = software_installation.getUrlString()\n if software_installation.getSlapState() == \'start_requested\':\n
if url_string:\n url_string = software_installation.getUrlString()\n
url_string_list.append(url_string)\n if url_string:\n
url_string_list.append(url_string)\n
return url_string_list\n return url_string_list\n
</string> </value> </string> </value>
</item> </item>
......
483 484
\ 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