diff options
author | Josh Morman <jmorman@perspectalabs.com> | 2019-06-07 15:41:26 -0400 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-07-15 21:48:10 +0200 |
commit | 64984004009d900944650be5dfb327150d27dc30 (patch) | |
tree | 0259e248267a769f502276e094171500bd399620 /grc/core/FlowGraph.py | |
parent | 7fcd64e0d2287b6dc4e408c2349d53d98c0a847e (diff) |
grc: add busports back into 3.8
Bus ports had not been added back in since the refactor of grc
Hopefully this fully enables busports though there are still some
issues with the gr-fec flowgraphs
Fixes #2277
Diffstat (limited to 'grc/core/FlowGraph.py')
-rw-r--r-- | grc/core/FlowGraph.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/grc/core/FlowGraph.py b/grc/core/FlowGraph.py index 04b73957b3..b57a93d551 100644 --- a/grc/core/FlowGraph.py +++ b/grc/core/FlowGraph.py @@ -284,6 +284,7 @@ class FlowGraph(Element): connection = self.parent_platform.Connection( parent=self, source=porta, sink=portb) self.connections.add(connection) + return connection def disconnect(self, *ports): @@ -377,6 +378,7 @@ class FlowGraph(Element): block.import_data(**block_data) + self.rewrite() # TODO: Figure out why this has to be called twice to populate bus ports correctly self.rewrite() # evaluate stuff like nports before adding connections # build the connections |