Python 3 fixes.
This commit is contained in:
parent
8da6437689
commit
b8a11b7b8d
@ -164,10 +164,10 @@ def parse_condition(condition, resources_map):
|
|||||||
if isinstance(condition, bool):
|
if isinstance(condition, bool):
|
||||||
return condition
|
return condition
|
||||||
|
|
||||||
condition_operator = condition.keys()[0]
|
condition_operator = list(condition.keys())[0]
|
||||||
|
|
||||||
condition_values = []
|
condition_values = []
|
||||||
for value in condition.values()[0]:
|
for value in list(condition.values())[0]:
|
||||||
# Check if we are referencing another Condition
|
# Check if we are referencing another Condition
|
||||||
if 'Condition' in value:
|
if 'Condition' in value:
|
||||||
condition_values.append(resources_map[value['Condition']])
|
condition_values.append(resources_map[value['Condition']])
|
||||||
|
Loading…
Reference in New Issue
Block a user