Commit 84a3bd53 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_pdm: slap_state were been ignored by catalog

  There was an obvious check just after query.
parent 0a6c1d62
...@@ -81,8 +81,6 @@ software_installation_list = portal.portal_catalog(\n ...@@ -81,8 +81,6 @@ software_installation_list = portal.portal_catalog(\n
validation_state="validated",\n validation_state="validated",\n
url_string=software_release.getUrlString(),\n url_string=software_release.getUrlString(),\n
default_aggregate_uid=computer.getUid(),\n default_aggregate_uid=computer.getUid(),\n
#XXX - don\'t select destroyed Software Installation\n
slap_state=\'start_requested\'\n
)\n )\n
# check again slap_state because it might be ignored in previous request!\n # check again slap_state because it might be ignored in previous request!\n
if \'start_requested\' in [software_installation.getSlapState() \\\n if \'start_requested\' in [software_installation.getSlapState() \\\n
......
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