From: Philippe Proulx Date: Tue, 15 Aug 2017 23:20:12 +0000 (-0400) Subject: Fix: component.py: pass `other_port`, not `other_port_ptr` to user X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=88a77ab5b605db02fa0b31096b604562cae1bf2b Fix: component.py: pass `other_port`, not `other_port_ptr` to user Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/bindings/python/bt2/bt2/component.py b/bindings/python/bt2/bt2/component.py index 9c178681..3e5efa0d 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()