[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 03/10: grc: don't try to auto-generate non-
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 03/10: grc: don't try to auto-generate non-hier blocks |
Date: |
Mon, 25 Apr 2016 22:56:27 +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 c4a7a9a620fc9a1117b70e463b071ab4be9539a2
Author: Sebastian Koslowski <address@hidden>
Date: Mon Apr 25 11:29:01 2016 +0200
grc: don't try to auto-generate non-hier blocks
---
grc/python/Platform.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/grc/python/Platform.py b/grc/python/Platform.py
index 2a0bbf9..351f04c 100644
--- a/grc/python/Platform.py
+++ b/grc/python/Platform.py
@@ -146,6 +146,8 @@ class Platform(_Platform, _GUIPlatform):
flow_graph.validate()
if not flow_graph.is_valid():
raise Exception('Flowgraph invalid')
+ if not flow_graph.get_option('generate_options').startswith('hb'):
+ raise Exception('Not a hier block')
except Exception as e:
Messages.send('>>> Load Error: %r: %s\n' % (file_path, str(e)))
return False
- [Commit-gnuradio] [gnuradio] branch maint updated (2a68b68 -> 4aa9404), git, 2016/04/25
- [Commit-gnuradio] [gnuradio] 07/10: udp sink: actually send 0-byte packets at EOF, git, 2016/04/25
- [Commit-gnuradio] [gnuradio] 09/10: Merge remote-tracking branch 'mmueller/default_conf_fix_comment' into maint, git, 2016/04/25
- [Commit-gnuradio] [gnuradio] 08/10: Merge remote-tracking branch 'mmueller/gr_uhd_blocks_samp_rate_before_time_source' into maint, git, 2016/04/25
- [Commit-gnuradio] [gnuradio] 02/10: grc: show underscores in recent files menu, git, 2016/04/25
- [Commit-gnuradio] [gnuradio] 05/10: config parser doesn't understand C Multiline Comments, git, 2016/04/25
- [Commit-gnuradio] [gnuradio] 06/10: improved parsability by OVER 9000, git, 2016/04/25
- [Commit-gnuradio] [gnuradio] 10/10: Merge remote-tracking branch 'gnuradio-wg-grc/maint_grcwg' into maint, git, 2016/04/25
- [Commit-gnuradio] [gnuradio] 03/10: grc: don't try to auto-generate non-hier blocks,
git <=
- [Commit-gnuradio] [gnuradio] 04/10: setting the sample rate before setting the time source avoiding auto-MCR trap, git, 2016/04/25
- [Commit-gnuradio] [gnuradio] 01/10: qtgui: more appropriate doxygen link., git, 2016/04/25