Python bt2 fix: erroneous imports following split of clock class and value
[babeltrace.git] / bindings / python / bt2 / bt2 / clock_class.py
index 552ac61da6f515aac7d57ef7d9bc95376342007e..161d365d37fdd181a3df29959f06fd4326ff785e 100644 (file)
@@ -24,7 +24,7 @@ from bt2 import native_bt, object, utils
 import uuid as uuidp
 import numbers
 import bt2
-
+import bt2.clock_value as clock_value
 
 class ClockClassOffset:
     def __init__(self, seconds=0, cycles=0):
@@ -219,5 +219,5 @@ class ClockClass(object._Object):
         utils._handle_ret(ret, "cannot set clock class object's UUID")
 
     def __call__(self, cycles):
-        return _ClockValue(self._ptr, cycles)
+        return clock_value._ClockValue(self._ptr, cycles)
 
This page took 0.023949 seconds and 4 git commands to generate.