diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-04-25 11:33:36 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-04-25 11:33:36 +0200 |
commit | 873b86cb54d03b9d705a2cb3cc5c09877323ed80 (patch) | |
tree | 451188da293a01e47f1a5f0e6160f7cce53317e0 /grc/core/Platform.py | |
parent | e669388404e9e9008a43c98c01528f669cc9ef7d (diff) | |
parent | c4a7a9a620fc9a1117b70e463b071ab4be9539a2 (diff) |
Merge branch 'maint_grcwg' into master_grcwg
Diffstat (limited to 'grc/core/Platform.py')
-rw-r--r-- | grc/core/Platform.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/grc/core/Platform.py b/grc/core/Platform.py index 4c1e6f471a..5bcf79c4b2 100644 --- a/grc/core/Platform.py +++ b/grc/core/Platform.py @@ -113,6 +113,8 @@ class Platform(Element): 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: {}: {}\n'.format(file_path, str(e))) return False |