X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fvalue.py;fp=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fvalue.py;h=104698a0fb752eb9b9776a6c1c41e1c1aa2e6660;hb=3fb99a226ccb40c79de6b55b5a249d93b9c5262e;hp=e7b3969b3c0afc481958521dd87c1164a9826e00;hpb=90ab1cfa06fc5b2d195a907361d3cee8b5646b44;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/value.py b/src/bindings/python/bt2/bt2/value.py index e7b3969b..104698a0 100644 --- a/src/bindings/python/bt2/bt2/value.py +++ b/src/bindings/python/bt2/bt2/value.py @@ -37,7 +37,7 @@ def _create_from_ptr(ptr): # to it that we are not going to manage anymore, since we don't create a # Python wrapper for it. Therefore put that reference immediately. if ptr == native_bt.value_null: - bt2.value._Value._put_ref(ptr) + _Value._put_ref(ptr) return typeid = native_bt.value_get_type(ptr)