canfestival/config_utils.py
changeset 1736 7e61baa047f0
parent 1734 750eeb7230a1
child 1739 ec153828ded2
--- a/canfestival/config_utils.py	Mon Aug 14 22:30:41 2017 +0300
+++ b/canfestival/config_utils.py	Mon Aug 14 23:27:15 2017 +0300
@@ -50,6 +50,7 @@
 #                  Specific exception for PDO mapping errors
 #-------------------------------------------------------------------------------
 
+
 class PDOmappingException(Exception):
     pass
 
@@ -137,6 +138,7 @@
     dcfdata += [LE_to_BE(idx, 2) + LE_to_BE(0x01, 1) + LE_to_BE(0x04, 4) + LE_to_BE(cobid, 4)]
     return "".join(dcfdata), len(dcfdata)
 
+
 class ConciseDCFGenerator:
 
     def __init__(self, nodelist, nodename):
@@ -592,6 +594,7 @@
                         # Add variable to pointed variables
                         self.PointedVariables[(mapvariableidx, nbsubentries)] = "%s_%s" % (indexname, subindexname)
 
+
 def GenerateConciseDCF(locations, current_location, nodelist, sync_TPDOs, nodename):
     """
     Fills a CanFestival network editor model, with DCF with requested PDO mappings.
@@ -613,6 +616,7 @@
     pointers.update(LocalODPointers(locations, current_location, masternode))
     return masternode,pointers
 
+
 def LocalODPointers(locations, current_location, slave):
     IECLocations = {}
     pointers = {}