diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2016-10-23 08:39:48 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-10-23 08:39:48 -0700 |
commit | 99b2e181449c3b4a3c35fb994315f0d120d9411a (patch) | |
tree | 06bbdb503bca5911b33e080ac0568c13131aa15d /gr-blocks/python/grc_gnuradio/blks2/tcp.py | |
parent | d4bb541ec1ec93446ecfa53948a1a6f995fffb64 (diff) |
gr-blocks: add warnings to deprected blks2 blocks
Diffstat (limited to 'gr-blocks/python/grc_gnuradio/blks2/tcp.py')
-rw-r--r-- | gr-blocks/python/grc_gnuradio/blks2/tcp.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-blocks/python/grc_gnuradio/blks2/tcp.py b/gr-blocks/python/grc_gnuradio/blks2/tcp.py index aee90fad2c..6ae24d3a7b 100644 --- a/gr-blocks/python/grc_gnuradio/blks2/tcp.py +++ b/gr-blocks/python/grc_gnuradio/blks2/tcp.py @@ -58,6 +58,8 @@ class tcp_source(gr.hier_block2): fd = _get_sock_fd(addr, port, server) self.connect(blocks.file_descriptor_source(itemsize, fd), self) + print "Warning: the blks2.tcp_source block is deprecated." + class tcp_sink(gr.hier_block2): def __init__(self, itemsize, addr, port, server=False): #init hier block @@ -68,3 +70,5 @@ class tcp_sink(gr.hier_block2): ) fd = _get_sock_fd(addr, port, server) self.connect(self, blocks.file_descriptor_sink(itemsize, fd)) + + print "Warning: the blks2.tcp_sink block is deprecated." |