summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/gnuradio/gr/hier_block2.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/gr/hier_block2.py')
-rw-r--r--gnuradio-runtime/python/gnuradio/gr/hier_block2.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gr/hier_block2.py b/gnuradio-runtime/python/gnuradio/gr/hier_block2.py
index 60b7fdb5ac..ead607ba8a 100644
--- a/gnuradio-runtime/python/gnuradio/gr/hier_block2.py
+++ b/gnuradio-runtime/python/gnuradio/gr/hier_block2.py
@@ -10,7 +10,9 @@ from __future__ import unicode_literals
import functools
-from .runtime_swig import hier_block2_swig, dot_graph
+# from .runtime_swig import hier_block2_swig, dot_graph
+from .gr_python import hier_block2_pb
+
import pmt
@@ -68,7 +70,7 @@ class hier_block2(object):
"""
Create a hierarchical block with a given name and I/O signatures.
"""
- self._impl = hier_block2_swig(name, input_signature, output_signature)
+ self._impl = hier_block2_pb(name, input_signature, output_signature)
def __getattr__(self, name):
"""
@@ -140,8 +142,8 @@ class hier_block2(object):
"""
self.primitive_message_port_register_hier_out(pmt.intern(portname))
- def dot_graph(self):
- """
- Return graph representation in dot language
- """
- return dot_graph(self._impl)
+ # def dot_graph(self):
+ # """
+ # Return graph representation in dot language
+ # """
+ # return dot_graph(self._impl)