plcopen/POUVariablesCollector.py
changeset 1953 5736d25bb393
parent 1952 0c20fc810d61
child 1973 cc7a46953471
--- a/plcopen/POUVariablesCollector.py	Tue Feb 20 11:24:40 2018 +0100
+++ b/plcopen/POUVariablesCollector.py	Tue Feb 20 14:16:51 2018 +0100
@@ -7,6 +7,7 @@
 from plcopen.XSLTModelQuery import XSLTModelQuery, _StringValue, _BoolValue, _translate_args
 from plcopen.types_enums import CLASS_TYPES, POU_TYPES, VAR_CLASS_INFOS
 
+
 def class_extraction(value):
     class_type = CLASS_TYPES.get(value)
     if class_type is not None:
@@ -56,14 +57,13 @@
                     [_BoolValue] * 2, args) + [[]])))
 
 
-
 class POUVariablesCollector(XSLTModelQuery):
     def __init__(self, controller):
         XSLTModelQuery.__init__(self,
                                 controller,
                                 "pou_variables.xslt",
-                                [(name, self.FactoryCaller(name)) 
-                                    for name in ["SetRoot", "AddVariable"]])
+                                [(name, self.FactoryCaller(name))
+                                 for name in ["SetRoot", "AddVariable"]])
 
     def FactoryCaller(self, funcname):
         def CallFactory(*args):
@@ -76,4 +76,3 @@
         res = self.factory.GetRoot()
         self.factory = None
         return res
-