diff -r d51af006fa6b -r 64d8f52bc8c8 PLCGenerator.py --- 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() -