From ea4e48f58e879701a7fe43dcd02f2663849d09d3 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 21 Oct 2024 15:31:48 -0400 Subject: [PATCH] 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 --- src/bindings/python/bt2/bt2/trace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1