etherlab/EthercatCFileGenerator.py
changeset 2360 2a3d022a7dac
parent 2355 fec77f2b9e07
child 2374 aed3ca79a10a
--- a/etherlab/EthercatCFileGenerator.py	Fri Sep 28 18:00:50 2018 +0300
+++ b/etherlab/EthercatCFileGenerator.py	Fri Sep 28 18:04:28 2018 +0300
@@ -68,6 +68,7 @@
     }
 """
 
+
 def ConfigureVariable(entry_infos, str_completion):
     entry_infos["data_type"] = DATATYPECONVERSION.get(entry_infos["var_type"], None)
     if entry_infos["data_type"] is None:
@@ -124,6 +125,7 @@
                 ("    EC_WRITE_%(data_type)s(domain1_pd + slave%(slave)d_%(index).4x_%(subindex).2x, " +
                  "%(real_var)s);") % entry_infos)
 
+
 def ExclusionSortFunction(x, y):
     if x["matching"] == y["matching"]:
         if x["assigned"] and not y["assigned"]:
@@ -133,6 +135,7 @@
         return cmp(x["count"], y["count"])
     return -cmp(x["matching"], y["matching"])
 
+
 class _EthercatCFileGenerator:
 
     def __init__(self, controler):