Commit 28742c53 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

SolverProcess: Fix updateLocalRolesOnSecurityGroups

parent 46d2697e
......@@ -317,7 +317,10 @@ class SolverProcess(XMLObject, ActiveProcess):
"""Update roles and add groups defined on related delivery
"""
super(SolverProcess, self).updateLocalRolesOnSecurityGroups(**kw)
delivery_value = self["1"] # XXX big hardcode !
child_list = self.objectValues()
if not child_list:
return
delivery_value = child_list[0]
if delivery_value is not None:
delivery_value = delivery_value.getDeliveryValue() # Simulation
if delivery_value is not None:
......
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