diff options
author | Josh Morman <jmorman@gnuradio.org> | 2021-11-24 12:48:20 -0500 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-11-24 14:41:53 -0500 |
commit | 817fc3ce9cdc819a291e76ec324c4e748381f035 (patch) | |
tree | ed00faf5ea2c0f5a8caaba0ce41cd816dd6ca958 /grc/core/blocks/virtual.py | |
parent | e776d673aa51b5ef19e16cfb6d22098c0b14a679 (diff) |
grc: pep8 formatting
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
Diffstat (limited to 'grc/core/blocks/virtual.py')
-rw-r--r-- | grc/core/blocks/virtual.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/grc/core/blocks/virtual.py b/grc/core/blocks/virtual.py index 9d1387dbbb..34e0feb34b 100644 --- a/grc/core/blocks/virtual.py +++ b/grc/core/blocks/virtual.py @@ -21,7 +21,8 @@ class VirtualSink(Block): flags.set('cpp') parameters_data = build_params( - params_raw=[dict(label='Stream ID', id='stream_id', dtype='stream_id')], + params_raw=[ + dict(label='Stream ID', id='stream_id', dtype='stream_id')], have_inputs=False, have_outputs=False, flags=flags, block_id=key ) inputs_data = [dict(domain='stream', dtype='', direction='sink', id="0")] @@ -45,10 +46,12 @@ class VirtualSource(Block): flags.set('cpp') parameters_data = build_params( - params_raw=[dict(label='Stream ID', id='stream_id', dtype='stream_id')], + params_raw=[ + dict(label='Stream ID', id='stream_id', dtype='stream_id')], have_inputs=False, have_outputs=False, flags=flags, block_id=key ) - outputs_data = [dict(domain='stream', dtype='', direction='source', id="0")] + outputs_data = [dict(domain='stream', dtype='', + direction='source', id="0")] def __init__(self, parent, **kwargs): super(VirtualSource, self).__init__(parent, **kwargs) |