From: Simon Marchi Date: Mon, 21 Oct 2024 19:31:48 +0000 (-0400) Subject: Fix: bt2: "trace class" -> "trace" in error message X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ea4e48f58e879701a7fe43dcd02f2663849d09d3;p=babeltrace.git Fix: bt2: "trace class" -> "trace" in error message Change-Id: I2dfd4eb4daa5ca8dc9de4d8d3828b6f4e775dd93 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/13386 Reviewed-by: Philippe Proulx --- diff --git a/src/bindings/python/bt2/bt2/trace.py b/src/bindings/python/bt2/bt2/trace.py index b5363e49..0f18e3a8 100644 --- a/src/bindings/python/bt2/bt2/trace.py +++ b/src/bindings/python/bt2/bt2/trace.py @@ -207,7 +207,7 @@ class _Trace(bt2_user_attrs._WithUserAttrs, _TraceConst): def _name(self, name): bt2_utils._check_str(name) status = native_bt.trace_set_name(self._ptr, name) - bt2_utils._handle_func_status(status, "cannot set trace class object's name") + bt2_utils._handle_func_status(status, "cannot set trace object's name") _name = property(fset=_name)