--- a/PLCGenerator.py Fri Aug 11 15:18:19 2017 +0300
+++ b/PLCGenerator.py Mon Aug 14 19:13:01 2017 +0300
@@ -771,7 +771,7 @@
connections = content["value"].getconnections()
if not connections:
raise PLCGenException, _("SFC transition in POU \"%s\" must be connected.") % self.Name
- for link in connections:
+ for link in connections:
connected = self.GetLinkedConnector(link, body)
if connected is not None and not self.ConnectionTypes.has_key(connected):
for related in self.ExtractRelatedConnections(connected):
@@ -1662,4 +1662,3 @@
generator = ProgramGenerator(controler, project, errors, warnings)
generator.GenerateProgram()
return generator.GetGeneratedProgram()
-