From 8f52f3844fc54e0b48566c8d6d76ec796cac0e35 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 5 Dec 2014 19:42:06 -0500 Subject: [PATCH] Python: bt: do not expose ClockType MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- bindings/python/bt.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/python/bt.py b/bindings/python/bt.py index 047e2f003..7605b5a74 100644 --- a/bindings/python/bt.py +++ b/bindings/python/bt.py @@ -220,7 +220,7 @@ def print_format_list(babeltrace_file): # Based on enum bt_clock_type in clock-type.h -class ClockType: +class _ClockType: CLOCK_CYCLES = 0 CLOCK_REAL = 1 @@ -257,7 +257,7 @@ class TraceHandle: return nbt._bt_trace_handle_get_timestamp_begin(self._trace_collection._tc, self._id, - ClockType.CLOCK_REAL) + _ClockType.CLOCK_REAL) @property def timestamp_end(self): @@ -265,7 +265,7 @@ class TraceHandle: return nbt._bt_trace_handle_get_timestamp_end(self._trace_collection._tc, self._id, - ClockType.CLOCK_REAL) + _ClockType.CLOCK_REAL) @property def events(self): -- 2.34.1