commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r9669 - gnuradio/trunk/grc/src/platforms/base


From: jblum
Subject: [Commit-gnuradio] r9669 - gnuradio/trunk/grc/src/platforms/base
Date: Sun, 28 Sep 2008 00:29:47 -0600 (MDT)

Author: jblum
Date: 2008-09-28 00:29:46 -0600 (Sun, 28 Sep 2008)
New Revision: 9669

Modified:
   gnuradio/trunk/grc/src/platforms/base/FlowGraph.py
Log:
fixed bug: use title option, name removed 

Modified: gnuradio/trunk/grc/src/platforms/base/FlowGraph.py
===================================================================
--- gnuradio/trunk/grc/src/platforms/base/FlowGraph.py  2008-09-28 03:35:21 UTC 
(rev 9668)
+++ gnuradio/trunk/grc/src/platforms/base/FlowGraph.py  2008-09-28 06:29:46 UTC 
(rev 9669)
@@ -52,7 +52,7 @@
                        #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):
                """





reply via email to

[Prev in Thread] Current Thread [Next in Thread]