canfestival/config_utils.py
changeset 1767 c74815729afd
parent 1765 ccf59c1f0b45
child 1768 691083b5682a
--- a/canfestival/config_utils.py	Thu Aug 17 17:25:17 2017 +0300
+++ b/canfestival/config_utils.py	Fri Aug 18 12:36:31 2017 +0300
@@ -572,15 +572,16 @@
                     variable_infos = self.IECLocations[varname]
 
                     # Calculate base index for storing variable
-                    mapvariableidx = VariableStartIndex[variable_infos["pdotype"]] + \
-                                     VariableTypeOffset[variable_infos["sizelocation"]] * VariableIncrement + \
-                                     variable_infos["nodeid"]
+                    mapvariableidx = \
+                        VariableStartIndex[variable_infos["pdotype"]] + \
+                        VariableTypeOffset[variable_infos["sizelocation"]] * VariableIncrement + \
+                        variable_infos["nodeid"]
 
                     # Generate entry name
                     indexname = "%s%s%s_%d" % (VariableDirText[variable_infos["pdotype"]],
-                                                 variable_infos["sizelocation"],
-                                                 '_'.join(map(str, current_location)),
-                                                 variable_infos["nodeid"])
+                                               variable_infos["sizelocation"],
+                                               '_'.join(map(str, current_location)),
+                                               variable_infos["nodeid"])
 
                     # Search for an entry that has an empty subindex
                     while mapvariableidx < VariableStartIndex[variable_infos["pdotype"]] + 0x2000: