[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/06: grc: fix generate mode error message
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/06: grc: fix generate mode error message (#800) |
Date: |
Mon, 22 Jun 2015 14:32:23 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 39143b6179c888c9cec58908c959c65c9f6c257c
Author: Sebastian Koslowski <address@hidden>
Date: Fri Jun 19 08:39:34 2015 +0200
grc: fix generate mode error message (#800)
---
grc/python/Block.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/grc/python/Block.py b/grc/python/Block.py
index 191b03b..48b8277 100644
--- a/grc/python/Block.py
+++ b/grc/python/Block.py
@@ -106,7 +106,8 @@ class Block(_Block, _GUIBlock):
current_generate_option =
self.get_parent().get_option('generate_options')
for label, option in (('WX GUI', 'wx_gui'), ('QT GUI', 'qt_gui')):
if self.get_name().startswith(label) and current_generate_option
!= option:
- self.add_error_message("Can't generate this block in mode " +
repr(option))
+ self.add_error_message("Can't generate this block in mode " +
+ repr(current_generate_option))
def rewrite(self):
"""
- [Commit-gnuradio] [gnuradio] branch maint updated (b9034d5 -> 3bff8fa), git, 2015/06/22
- [Commit-gnuradio] [gnuradio] 05/06: Merge remote-tracking branch 'tom/qtgui/cpfix' into maint, git, 2015/06/22
- [Commit-gnuradio] [gnuradio] 02/06: grc: fix generate mode error message (#800),
git <=
- [Commit-gnuradio] [gnuradio] 01/06: completing the half sentence about when to use C++, git, 2015/06/22
- [Commit-gnuradio] [gnuradio] 03/06: qtgui: fixed issue #801 with controlpanel in the frequency display., git, 2015/06/22
- [Commit-gnuradio] [gnuradio] 06/06: Merge remote-tracking branch 'gnuradio-wg-grc/maint_grcwg' into maint, git, 2015/06/22
- [Commit-gnuradio] [gnuradio] 04/06: grc: fix context menu in props dialog text displays, git, 2015/06/22