etherlab/EthercatMaster.py
changeset 2356 c26e0c66d8d5
parent 2355 fec77f2b9e07
child 2358 8e5a9830867e
--- a/etherlab/EthercatMaster.py	Fri Sep 28 17:20:11 2018 +0300
+++ b/etherlab/EthercatMaster.py	Fri Sep 28 17:48:10 2018 +0300
@@ -34,9 +34,9 @@
 except Exception:
     HAS_MCL = False
 
-#--------------------------------------------------
+# --------------------------------------------------
 #         Remote Exec Etherlab Commands
-#--------------------------------------------------
+# --------------------------------------------------
 
 SCAN_COMMAND = """
 import commands
@@ -64,9 +64,9 @@
 returnVal = slaves
 """
 
-#--------------------------------------------------
+# --------------------------------------------------
 #      Etherlab Specific Blocks Library
-#--------------------------------------------------
+# --------------------------------------------------
 
 def GetLocalPath(filename):
     return os.path.join(os.path.split(__file__)[0], filename)
@@ -89,9 +89,9 @@
         return ((["etherlab_ext"], [(Gen_etherlabfile_path, IECCFLAGS)], True), "",
                 ("runtime_etherlab.py", file(GetLocalPath("runtime_etherlab.py"))))
 
-#--------------------------------------------------
+# --------------------------------------------------
 #                 Ethercat MASTER
-#--------------------------------------------------
+# --------------------------------------------------
 
 EtherCATConfigParser = GenerateParserFromXSD(os.path.join(os.path.dirname(__file__), "EtherCATConfig.xsd"))
 
@@ -571,7 +571,6 @@
                 device, module_extra_params = self.GetModuleInfos(type_infos)
         if device is not None:
             entries = device.GetEntriesList(limits)
-            #print entries
             entries_list = entries.items()
             entries_list.sort()
             entries = []
@@ -770,9 +769,9 @@
 
         return [],"",False
 
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
 #                      Current Buffering Management Functions
-#-------------------------------------------------------------------------------
+# -------------------------------------------------------------------------------
 
     """
     Return a copy of the config