diff options
author | Johnathan Corgan | 2009-09-09 17:38:27 -0700 |
---|---|---|
committer | Johnathan Corgan | 2009-09-09 17:38:27 -0700 |
commit | 7f3dc5c263a55d1a992d28d374fc7acc9ebe412b (patch) | |
tree | 61f23680cb4c3a8a83dbf947868e0340725856c3 /grc/python/FlowGraph.py | |
parent | 3c8af34f675eadd64b5fc3f0065793f3b3ff47f0 (diff) | |
parent | b8f69ad7ba49aa85239f6de611ddfd040344f66b (diff) | |
download | gnuradio-7f3dc5c263a55d1a992d28d374fc7acc9ebe412b.tar.gz gnuradio-7f3dc5c263a55d1a992d28d374fc7acc9ebe412b.tar.bz2 gnuradio-7f3dc5c263a55d1a992d28d374fc7acc9ebe412b.zip |
Merge branch 'grc' of http://gnuradio.org/git/jblum into master
* 'grc' of http://gnuradio.org/git/jblum:
use show signal to perform initial gui update
Fixed the usrp and usrp2 probe scripts to work with the new gui param api.
propsdialog tweaks
more code cleanup for properties dialog
Rework the params/properties dialog and param gui class:
renamed params dialog to props dialog
remove unused imports, copyright date update, tweak
Created recursive create labels and shapes method for gui element.
replaced dict[rot] storage of areas and lines with a single list for the current rotation
standardized the Element inheritance __init__ usage in gui
better error msg for empty statements
Implement a recursive validation api in the base Element class.
Diffstat (limited to 'grc/python/FlowGraph.py')
-rw-r--r-- | grc/python/FlowGraph.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/python/FlowGraph.py b/grc/python/FlowGraph.py index 6b2936c75..4dd18a81f 100644 --- a/grc/python/FlowGraph.py +++ b/grc/python/FlowGraph.py @@ -42,6 +42,7 @@ class FlowGraph(_FlowGraph, _GUIFlowGraph): @param namespace_hash a unique hash for the namespace @return the resultant object """ + if not code: raise Exception, 'Cannot evaluate empty statement.' my_hash = hash(code) ^ namespace_hash #cache if does not exist if not self._eval_cache.has_key(my_hash): |