X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=bindings%2Fpython%2Fbt2%2Fbt2%2Fctf_writer.py;h=af48f6513e7892c29aa2e55d83e2983553c63213;hb=78288f581343ec033cc38898777fe43a02380719;hp=c021ebeb65199bd10c8f6244f272d79effe7a914;hpb=fca9fd7dfa103b71eb02ebc67ec92dd3f7d7b10d;p=babeltrace.git diff --git a/bindings/python/bt2/bt2/ctf_writer.py b/bindings/python/bt2/bt2/ctf_writer.py index c021ebeb..af48f651 100644 --- a/bindings/python/bt2/bt2/ctf_writer.py +++ b/bindings/python/bt2/bt2/ctf_writer.py @@ -28,7 +28,7 @@ import abc import bt2 -class CtfWriterClock(object._Object): +class CtfWriterClock(bt2.object._SharedObject): def __init__(self, name, description=None, frequency=None, precision=None, offset=None, is_absolute=None, uuid=None): utils._check_str(name) @@ -284,7 +284,7 @@ class _CtfWriterStream(stream._StreamBase): return cpy -class CtfWriter(object._Object): +class CtfWriter(bt2.object._SharedObject): def __init__(self, path): utils._check_str(path) ptr = native_bt.ctf_writer_create(path)