diff options
author | jblum | 2009-01-23 00:11:30 +0000 |
---|---|---|
committer | jblum | 2009-01-23 00:11:30 +0000 |
commit | b255f6ad2e093a7503bf1926eb841707e12e8bed (patch) | |
tree | 6355ff6e6556884f19fd7a1ac61e6fad1bc78765 /grc/data | |
parent | 1545a741acca4ee45e8cfd889d9152f5db57bd1b (diff) | |
download | gnuradio-b255f6ad2e093a7503bf1926eb841707e12e8bed.tar.gz gnuradio-b255f6ad2e093a7503bf1926eb841707e12e8bed.tar.bz2 gnuradio-b255f6ad2e093a7503bf1926eb841707e12e8bed.zip |
test case of file DNE
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10292 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/data')
-rw-r--r-- | grc/data/platforms/python/flow_graph.tmpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/grc/data/platforms/python/flow_graph.tmpl b/grc/data/platforms/python/flow_graph.tmpl index 3589e564c..4cd4411a7 100644 --- a/grc/data/platforms/python/flow_graph.tmpl +++ b/grc/data/platforms/python/flow_graph.tmpl @@ -183,8 +183,9 @@ if __name__ == '__main__': #if $parameters parser = OptionParser() #for $param in $parameters - #if $param.get_param('type').get_value() - parser.add_option("--$param.get_id()", dest="$param.get_id()", type="$param.get_param('type').get_value()", default=$param.get_make()) + #set $type = $param.get_param('type').get_value() + #if $type + parser.add_option("--$param.get_id()", dest="$param.get_id()", type="$type", default=$param.get_make()) #silent $args.append('%s=options.%s'%($param.get_id(), $param.get_id())) #end if #end for |