From c4800597fb82cdbeebe2317d2629ed99d305c56d Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Tue, 13 Aug 2019 12:47:10 -0400 Subject: [PATCH] bt2: cleanup: Remove unused `_StreamClass` id setter Signed-off-by: Francis Deslauriers Change-Id: Iabd929f239e54e81e8424d366e7bc7689b342c2a Reviewed-on: https://review.lttng.org/c/babeltrace/+/1904 Reviewed-by: Simon Marchi Reviewed-by: Philippe Proulx Tested-by: jenkins --- src/bindings/python/bt2/bt2/stream_class.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/bindings/python/bt2/bt2/stream_class.py b/src/bindings/python/bt2/bt2/stream_class.py index c543523c..af8d4e53 100644 --- a/src/bindings/python/bt2/bt2/stream_class.py +++ b/src/bindings/python/bt2/bt2/stream_class.py @@ -235,12 +235,6 @@ class _StreamClass(object._SharedObject, collections.abc.Mapping): return id - @id.setter - def id(self, id): - utils._check_int64(id) - status = native_bt.stream_class_set_id(self._ptr, id) - utils._handle_func_status(status, "cannot set stream class object's ID") - @property def packet_context_field_class(self): fc_ptr = native_bt.stream_class_borrow_packet_context_field_class_const( -- 2.34.1