plcopen/structures.py
changeset 1828 396da88d7b5c
parent 1782 5b6ad7a7fd9d
child 1832 0f1081928d65
--- a/plcopen/structures.py	Fri Sep 22 10:57:57 2017 +0300
+++ b/plcopen/structures.py	Fri Sep 22 16:37:38 2017 +0300
@@ -110,7 +110,7 @@
     return the matching row without first field
     """
     fields = [None]
-    while(fields[0] != section_name):
+    while fields[0] != section_name:
         fields = table.pop(0)
     return fields[1:]
 
@@ -123,7 +123,7 @@
     variables = find_section("Standard_functions_variables_types", table)
     standard_funtions_input_variables = {}
     fields = [True, True]
-    while(fields[1]):
+    while fields[1]:
         fields = table.pop(0)
         variable_from_csv = dict([(champ, val) for champ, val in zip(variables, fields[1:]) if champ != ''])
         standard_funtions_input_variables[variable_from_csv['name']] = variable_from_csv['type']