diff -r 0c20fc810d61 -r 5736d25bb393 plcopen/InstanceTagnameCollector.py --- a/plcopen/InstanceTagnameCollector.py Tue Feb 20 11:24:40 2018 +0100 +++ b/plcopen/InstanceTagnameCollector.py Tue Feb 20 14:16:51 2018 +0100 @@ -4,9 +4,10 @@ # See COPYING file for copyrights details. from __future__ import absolute_import -from plcopen.XSLTModelQuery import XSLTModelQuery +from plcopen.XSLTModelQuery import XSLTModelQuery from plcopen.types_enums import * + class InstanceTagName(object): """Helpers object for generating instance tagname""" @@ -38,12 +39,12 @@ XSLTModelQuery.__init__(self, controller, "instance_tagname.xslt", - [(name, self.FactoryCaller(name)) - for name in ["ConfigTagName", - "ResourceTagName", - "PouTagName", - "ActionTagName", - "TransitionTagName"]]) + [(name, self.FactoryCaller(name)) + for name in ["ConfigTagName", + "ResourceTagName", + "PouTagName", + "ActionTagName", + "TransitionTagName"]]) def FactoryCaller(self, funcname): def CallFactory(*args):