/[ascend]/trunk/pygtk/canvas/blockcanvas.py
ViewVC logotype

Diff of /trunk/pygtk/canvas/blockcanvas.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1972 by jpye, Sat Dec 27 07:19:35 2008 UTC revision 1973 by jpye, Mon Dec 29 06:53:09 2008 UTC
# Line 71  class BlockCanvas(Canvas): Line 71  class BlockCanvas(Canvas):
71                  continue                  continue
72              s += str(item.blockinstance)              s += str(item.blockinstance)
73    
74          for item in self.get_all_items():          for line in self.get_all_items():
75              if not isinstance(item, Line):              if not isinstance(line, Line):
76                  continue                  continue
77              s += "\t%s, %s ARE_THE_SAME;\n" % (item._handles[0].connected_to.blockinstance.name, item._handles[1].connected_to.blockinstance.name)              s += "\t%s, %s ARE_THE_SAME;\n" % (line._handles[0].connected_to.blockinstance.name, line._handles[1].connected_to.blockinstance.name)
78          s += "END canvasmodel;\n";          s += "END canvasmodel;\n";
79          return s          return s
80    

Legend:
Removed from v.1972  
changed lines
  Added in v.1973

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22