commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 01/03: grc-refactor: fix renamed getter for


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/03: grc-refactor: fix renamed getter for dummy block ports
Date: Mon, 25 Apr 2016 22:56:28 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit e669388404e9e9008a43c98c01528f669cc9ef7d
Author: Sebastian Koslowski <address@hidden>
Date:   Mon Apr 25 11:25:02 2016 +0200

    grc-refactor: fix renamed getter for dummy block ports
---
 grc/core/FlowGraph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grc/core/FlowGraph.py b/grc/core/FlowGraph.py
index 313af31..2f33baf 100644
--- a/grc/core/FlowGraph.py
+++ b/grc/core/FlowGraph.py
@@ -587,7 +587,7 @@ def _dummy_block_add_port(block, key, dir):
     """ This is so ugly... Add a port to a dummy-field block """
     port_n = odict({'name': '?', 'key': key, 'type': ''})
     port = block.get_parent().get_parent().Port(block=block, n=port_n, dir=dir)
-    if port.is_source():
+    if port.is_source:
         block.get_sources().append(port)
     else:
         block.get_sinks().append(port)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]