Fix: bt2: "trace class" -> "trace" in error message
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 21 Oct 2024 19:31:48 +0000 (15:31 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 4 Nov 2024 16:17:44 +0000 (11:17 -0500)
Change-Id: I2dfd4eb4daa5ca8dc9de4d8d3828b6f4e775dd93
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/13386
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/bindings/python/bt2/bt2/trace.py

index b5363e49807544115505cd684684cebb65d175ec..0f18e3a80993cbeaf85e1839d4a6d9e2710b760a 100644 (file)
@@ -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)
 
This page took 0.024401 seconds and 4 git commands to generate.