From 88a77ab5b605db02fa0b31096b604562cae1bf2b Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 15 Aug 2017 19:20:12 -0400 Subject: [PATCH] Fix: component.py: pass `other_port`, not `other_port_ptr` to user MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- bindings/python/bt2/bt2/component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/bt2/bt2/component.py b/bindings/python/bt2/bt2/component.py index 9c1786814..3e5efa0d5 100644 --- a/bindings/python/bt2/bt2/component.py +++ b/bindings/python/bt2/bt2/component.py @@ -572,7 +572,7 @@ class _UserComponent(metaclass=_UserComponentType): other_port = bt2.port._create_from_ptr(other_port_ptr) try: - self._port_connected(port, other_port_ptr) + self._port_connected(port, other_port) except: if not _NO_PRINT_TRACEBACK: traceback.print_exc() -- 2.34.1