etherlab/etherlab.py
changeset 2356 c26e0c66d8d5
parent 2355 fec77f2b9e07
child 2357 7c67286cddbe
--- a/etherlab/etherlab.py	Fri Sep 28 17:20:11 2018 +0300
+++ b/etherlab/etherlab.py	Fri Sep 28 17:48:10 2018 +0300
@@ -26,9 +26,9 @@
 
 ScriptDirectory = os.path.split(os.path.realpath(__file__))[0]
 
-#--------------------------------------------------
+# --------------------------------------------------
 #                 Ethercat ConfNode
-#--------------------------------------------------
+# --------------------------------------------------
 
 EtherCATInfoParser = GenerateParserFromXSD(os.path.join(os.path.dirname(__file__), "EtherCATInfo.xsd"))
 EtherCATInfo_XPath = lambda xpath: etree.XPath(xpath)
@@ -223,9 +223,9 @@
                             {"name": ExtractName(group.getName(), group_type),
                              "parent": group.getParentGroup(),
                              "order": group.getSortOrder(),
-                             #"value": group.getcontent()["value"],
+                             # "value": group.getcontent()["value"],
                              "devices": []})
-
+                             
                     for device in self.devices_xpath(self.modules_infos):
                         device_group = device.getGroupType()
                         if not vendor_category["groups"].has_key(device_group):