plcopen/plcopen.py
changeset 1768 691083b5682a
parent 1766 c1e5b9f19483
child 1777 c46ec818bdd7
--- a/plcopen/plcopen.py	Fri Aug 18 12:36:31 2017 +0300
+++ b/plcopen/plcopen.py	Fri Aug 18 20:14:38 2017 +0300
@@ -59,7 +59,8 @@
 """
 Define which action qualifier must be associated with a duration
 """
-QualifierList = OrderedDict([("N", False), ("R", False), ("S", False),
+QualifierList = OrderedDict([
+    ("N", False), ("R", False), ("S", False),
     ("L", True), ("D", True), ("P", False), ("P0", False),
     ("P1", False), ("SD", True), ("DS", True), ("SL", True)])
 
@@ -1130,10 +1131,10 @@
                  for var in block_outputs_xpath(self)])
 
         block_infos["usage"] = ("\n (%s) => (%s)" %
-            (", ".join(["%s:%s" % (input[1], input[0])
-                        for input in block_infos["inputs"]]),
-             ", ".join(["%s:%s" % (output[1], output[0])
-                        for output in block_infos["outputs"]])))
+                                (", ".join(["%s:%s" % (input[1], input[0])
+                                            for input in block_infos["inputs"]]),
+                                 ", ".join(["%s:%s" % (output[1], output[0])
+                                            for output in block_infos["outputs"]])))
         return block_infos
     setattr(cls, "getblockInfos", getblockInfos)
 
@@ -1961,8 +1962,8 @@
              "single": _getBoundingBoxSingle,
              "multiple": _getBoundingBoxMultiple},
     "translate": {"none": _translate,
-               "single": _translateSingle,
-               "multiple": _translateMultiple},
+                  "single": _translateSingle,
+                  "multiple": _translateMultiple},
     "filter": {"none": lambda self, connections: None,
                "single": _filterConnectionsSingle,
                "multiple": _filterConnectionsMultiple},