bt2: Adapt test_trace.py and make it pass
[babeltrace.git] / bindings / python / bt2 / bt2 / event_class.py
index 899a670b6576f2c5effc6a3d9c0b932ac39a6e8f..057dbea436856d1295c7f607ecb88c830ea62125 100644 (file)
@@ -23,7 +23,7 @@
 from bt2 import native_bt, object, utils
 import bt2.field_class
 import collections.abc
-import bt2.values
+import bt2.value
 import bt2.event
 import copy
 import bt2
@@ -47,7 +47,7 @@ class EventClassLogLevel:
     DEBUG = native_bt.EVENT_CLASS_LOG_LEVEL_DEBUG
 
 
-class EventClass(object._Object):
+class EventClass(object._SharedObject):
     def __init__(self, name, id=None, log_level=None, emf_uri=None,
                  context_field_class=None, payload_field_class=None):
         utils._check_str(name)
This page took 0.024326 seconds and 4 git commands to generate.