lib: remove "accept port" concept
[babeltrace.git] / src / bindings / python / bt2 / bt2 / graph.py
index 849b208a10e58dfa5e96611b12942837aa0cf6d3..f1270b5a66a8582bac4c2432327abc792210a4cd 100644 (file)
@@ -66,9 +66,7 @@ class Graph(object._SharedObject):
         super().__init__(ptr)
 
     def _handle_status(self, status, gen_error_msg):
-        if status == native_bt.GRAPH_STATUS_COMPONENT_REFUSES_PORT_CONNECTION:
-            raise bt2.PortConnectionRefused
-        elif status == native_bt.GRAPH_STATUS_CANCELED:
+        if status == native_bt.GRAPH_STATUS_CANCELED:
             raise bt2.GraphCanceled
         elif status == native_bt.GRAPH_STATUS_END:
             raise bt2.Stop
This page took 0.024803 seconds and 4 git commands to generate.