Commit 25ba8655 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_pdm: Fix (old) typo

parent 5a474470
...@@ -14,7 +14,7 @@ for decision_line in decision_line_in_progress_list: ...@@ -14,7 +14,7 @@ for decision_line in decision_line_in_progress_list:
release_list = decision_line.getAggregateValueList(portal_type="Software Release") release_list = decision_line.getAggregateValueList(portal_type="Software Release")
if len(release_list) > 1: if len(release_list) > 1:
continue continue
if not release_list[0]: if not release_list:
continue continue
# If the current sr in rejected we must prevent creation of new upgrade decision for this sr # If the current sr in rejected we must prevent creation of new upgrade decision for this sr
if simulation_state == 'rejected' and \ if simulation_state == 'rejected' and \
......
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