Commit 6c677015 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Make Pylint Happy

parent 1b9ea629
Pipeline #10854 failed with stage
in 0 seconds
list = []
for si in context.portal_catalog(url_string=context.getUrlString(), portal_type='Software Installation', validation_state='validated'):
computer_list = []
for si in context.portal_catalog(url_string=context.getUrlString(),
portal_type='Software Installation',
validation_state='validated'):
computer = si.getAggregateValue()
if si.getSlapState() == 'start_requested' and \
not computer.Computer_getSoftwareReleaseUsage(context.getUrlString()) \
and computer.getValidationState() == 'validated':
list.append(computer)
computer_list.append(computer)
return list
return computer_list
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