From cadb0ac6eac029586dac33e1cc161bddc15e27f4 Mon Sep 17 00:00:00 2001 From: micafer Date: Thu, 21 Oct 2021 13:26:42 +0200 Subject: [PATCH] Fix style --- IM/tosca/Tosca.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IM/tosca/Tosca.py b/IM/tosca/Tosca.py index ec007b0ae..28fe73195 100644 --- a/IM/tosca/Tosca.py +++ b/IM/tosca/Tosca.py @@ -1620,7 +1620,7 @@ def _get_root_parent_type(node): return node_type @staticmethod - def _get_interfaces(node, interface_names=['Standard','Configure'], + def _get_interfaces(node, interface_names=['Standard', 'Configure'], steps=['create', 'configure', 'start', 'stop', 'delete']): """ Get a dict of InterfacesDef of the specified node @@ -1638,7 +1638,7 @@ def _get_interfaces(node, interface_names=['Standard','Configure'], if name in steps: if name not in interfaces: interfaces[name] = InterfacesDef(node_type, interface_name, name=name, - value=elems, node_template=node) + value=elems, node_template=node) if node_type.parent_type is not None: node_type = node_type.parent_type