Bug on connector-continuation generation fixed
authorlbessard
Mon, 08 Sep 2008 10:32:41 +0200
changeset 261 6fe3ee00f9a0
parent 260 ad7ced0e5662
child 262 3b92f0b96d31
Bug on connector-continuation generation fixed
PLCGenerator.py
Viewer.py
--- a/PLCGenerator.py	Mon Sep 08 09:43:43 2008 +0200
+++ b/PLCGenerator.py	Mon Sep 08 10:32:41 2008 +0200
@@ -815,7 +815,6 @@
 
     def ComputeExpression(self, body, connections, order = False):
         paths = self.GeneratePaths(connections, body, order)
-        print paths
         if len(paths) > 1:
             factorized_paths = self.FactorizePaths(paths)
             if len(factorized_paths) > 1:
--- a/Viewer.py	Mon Sep 08 09:43:43 2008 +0200
+++ b/Viewer.py	Mon Sep 08 10:32:41 2008 +0200
@@ -613,8 +613,6 @@
                     iec_path = "%s.%s->%s"%(self.InstancePath, ",".join(previous_steps), ",".join(next_steps))
                     if self.Controler.SubscribeDebugIECVariable(iec_path.upper(), block) is not None:
                         self.Subscribed[block] = iec_path.upper()
-                    else:
-                        print "Unknown IEC_Path", iec_path
                 
         self.RefreshVisibleElements()
         self.ShowErrors()