X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Ffield.py;h=06c8385efc63b5b0af64eec89b7d32717971f10b;hb=0a205e0153be49774ea297ead783c728db86dc0b;hp=40ce52c52adc7b47e0dd5e34f67ae525267508dc;hpb=693de5b44771598bc21be051855e4d06b0a8a933;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/field.py b/src/bindings/python/bt2/bt2/field.py index 40ce52c5..06c8385e 100644 --- a/src/bindings/python/bt2/bt2/field.py +++ b/src/bindings/python/bt2/bt2/field.py @@ -13,7 +13,6 @@ import math def _create_field_from_ptr_template( object_map, ptr, owner_ptr, owner_get_ref, owner_put_ref ): - field_class_ptr = native_bt.field_borrow_class_const(ptr) typeid = native_bt.field_class_get_type(field_class_ptr) field = object_map[typeid]._create_from_ptr_and_get_ref(