fixed bug: use title option, name removed
authorjblum <jblum@221aa14e-8319-0410-a670-987f0aec2ac5>
Sun, 28 Sep 2008 06:29:46 +0000 (06:29 +0000)
committerjblum <jblum@221aa14e-8319-0410-a670-987f0aec2ac5>
Sun, 28 Sep 2008 06:29:46 +0000 (06:29 +0000)
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9669 221aa14e-8319-0410-a670-987f0aec2ac5

grc/src/platforms/base/FlowGraph.py

index 071e5939652434ba445341132af9dc272f50b081..aeb66ac7e870685967e2f6d4ab084d30e52b94d9 100644 (file)
@@ -52,7 +52,7 @@ class FlowGraph(Element):
                        #make sure that the id is not used by another block
                        if not filter(lambda b: b.get_id() == id, self.get_blocks()): return id
 
-       def __str__(self): return 'FlowGraph - "%s"'%self.get_option('name')
+       def __str__(self): return 'FlowGraph - %s(%s)'%(self.get_option('title'), self.get_option('id'))
 
        def get_option(self, key):
                """