python: standardize intra-bt2 imports
[babeltrace.git] / src / bindings / python / bt2 / bt2 / field_path.py
index 9dbb2d8fc410e8624d38d5dac4aba69496fe66b7..d16f0f36f6f6130f6157f908e26abe0c5e9f2c7c 100644 (file)
@@ -3,7 +3,8 @@
 # Copyright (c) 2018 Francis Deslauriers <francis.deslauriers@efficios.com>
 
 import collections
-from bt2 import native_bt, object
+from bt2 import native_bt
+from bt2 import object as bt2_object
 
 
 class FieldPathScope:
@@ -34,7 +35,7 @@ class _CurrentOptionContentFieldPathItem(_FieldPathItem):
     pass
 
 
-class _FieldPathConst(object._SharedObject, collections.abc.Iterable):
+class _FieldPathConst(bt2_object._SharedObject, collections.abc.Iterable):
     @staticmethod
     def _get_ref(ptr):
         native_bt.field_path_get_ref(ptr)
This page took 0.023921 seconds and 4 git commands to generate.