Skip to content

Commit

Permalink
Fix #866
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jul 5, 2019
1 parent cf8de10 commit bd1157c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IM/tosca/Tosca.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _get_placement_property(self, sys_name, prop):

for node in node_list:
if node.name == sys_name:
if prop in policy.properties:
if policy.properties and prop in policy.properties:
Tosca.logger.debug("Set %s: %s to system: %s." % (prop,
policy.properties[prop],
sys_name))
Expand Down

0 comments on commit bd1157c

Please sign in to comment.