X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bindings%2Fpython%2Fbt2%2Fbt2%2Fclock_snapshot.py;h=fdd66a896f257c323bca04252610cf8e8ef37073;hb=78288f581343ec033cc38898777fe43a02380719;hp=d30c98e3b248c3fde57ea04d816da66547d91fdb;hpb=fca9fd7dfa103b71eb02ebc67ec92dd3f7d7b10d;p=babeltrace.git diff --git a/bindings/python/bt2/bt2/clock_snapshot.py b/bindings/python/bt2/bt2/clock_snapshot.py index d30c98e3..fdd66a89 100644 --- a/bindings/python/bt2/bt2/clock_snapshot.py +++ b/bindings/python/bt2/bt2/clock_snapshot.py @@ -31,7 +31,7 @@ def _create_clock_snapshot_from_ptr(ptr): return clock_snapshot -class _ClockSnapshot(object._Object): +class _ClockSnapshot(object._UniqueObject): def __init__(self, clock_class_ptr, cycles): utils._check_uint64(cycles) ptr = native_bt.clock_snapshot_create(clock_class_ptr, cycles)