wxglade_hmi/wxglade_hmi.py
changeset 1739 ec153828ded2
parent 1736 7e61baa047f0
child 1740 b789b695b5c6
--- a/wxglade_hmi/wxglade_hmi.py	Mon Aug 14 23:38:28 2017 +0300
+++ b/wxglade_hmi/wxglade_hmi.py	Tue Aug 15 12:17:51 2017 +0300
@@ -36,10 +36,12 @@
 class WxGladeHMI(PythonFileCTNMixin):
 
     ConfNodeMethods = [
-        {"bitmap" : "editWXGLADE",
-         "name" : _("WXGLADE GUI"),
-         "tooltip" : _("Edit a WxWidgets GUI with WXGlade"),
-         "method" : "_editWXGLADE"},
+        {
+            "bitmap":    "editWXGLADE",
+            "name":    _("WXGLADE GUI"),
+            "tooltip": _("Edit a WxWidgets GUI with WXGlade"),
+            "method":   "_editWXGLADE"
+        },
     ]
 
     def GetIconName(self):
@@ -97,9 +99,9 @@
             for node in wxgtree.childNodes[1].childNodes:
                 if node.nodeType == wxgtree.ELEMENT_NODE:
                     hmi_frames.append({
-                        "name" : node.getAttribute("name"),
-                        "class" : node.getAttribute("class"),
-                        "handlers" : [
+                        "name": node.getAttribute("name"),
+                        "class": node.getAttribute("class"),
+                        "handlers": [
                             hnode.firstChild.data for hnode in
                             node.getElementsByTagName("handler")]})