plcopen/structures.py
changeset 1747 6046ffa2280f
parent 1743 c3c3d1318130
child 1749 d73b64672238
--- a/plcopen/structures.py	Wed Aug 16 12:03:46 2017 +0300
+++ b/plcopen/structures.py	Wed Aug 16 12:21:05 2017 +0300
@@ -100,7 +100,7 @@
     """
     take a .csv file and translate it it a "csv_table"
     """
-    return [ map(string.strip, line.split(';')) for line in file.xreadlines()]
+    return [map(string.strip, line.split(';')) for line in file.xreadlines()]
 
 
 def find_section(section_name, table):
@@ -230,7 +230,7 @@
                     for outype in output_types:
                         if outype is not None:
                             decl_tpl = Function_decl["outputs"][0]
-                            Function_decl["outputs"] = [ (decl_tpl[0], outype,  decl_tpl[2])]
+                            Function_decl["outputs"] = [(decl_tpl[0], outype,  decl_tpl[2])]
                             if funcdeclname_orig.endswith('*'):
                                 funcdeclout =  funcdeclin + '_' + outype
                             else: