diff options
author | Josh Blum | 2009-08-29 01:04:58 -0700 |
---|---|---|
committer | Josh Blum | 2009-08-29 01:04:58 -0700 |
commit | 576d3978c7fafe5d6727c77281e3aad6d92074d2 (patch) | |
tree | fde88d38dd92a79571d1960f8e1fb9debd05b903 /grc/python/flow_graph.tmpl | |
parent | cb794a7c8703ea06a9bce110fc1041140f25e8e6 (diff) | |
download | gnuradio-576d3978c7fafe5d6727c77281e3aad6d92074d2.tar.gz gnuradio-576d3978c7fafe5d6727c77281e3aad6d92074d2.tar.bz2 gnuradio-576d3978c7fafe5d6727c77281e3aad6d92074d2.zip |
Replaced TYPES in Port and Param with types parameter.
Replaced odict in options for storing options with a list.
Fix virtual port check in flow graph template.
Diffstat (limited to 'grc/python/flow_graph.tmpl')
-rw-r--r-- | grc/python/flow_graph.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/python/flow_graph.tmpl b/grc/python/flow_graph.tmpl index bd12e82e9..dce4037d5 100644 --- a/grc/python/flow_graph.tmpl +++ b/grc/python/flow_graph.tmpl @@ -171,11 +171,11 @@ self.$port.get_parent().get_id()#slurp #set $source = $con.get_source() #set $sink = $con.get_sink() ##resolve virtual sources to the actual sources - #if $source.is_virtual_source() + #if $source.get_parent().is_virtual_source() #set $source = $source.resolve_virtual_source() #end if ##do not generate connections with virtual sinks - #if not $sink.is_virtual_sink() + #if not $sink.get_parent().is_virtual_sink() self.connect(($make_port_name($source), $source.get_key()), ($make_port_name($sink), $sink.get_key())) #end if #end for |