X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Ffield_class.py;h=80936539379c02cc00c9d640a553c9d73277dfba;hb=1367bc7ce5e43057c3a2c00a8f4fa2130259ea76;hp=0ccea041ebab21fb136066bbdc796721fd38a7d1;hpb=45c51519900e100d9acda4acb9516ef69bc2d045;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/field_class.py b/src/bindings/python/bt2/bt2/field_class.py index 0ccea041..80936539 100644 --- a/src/bindings/python/bt2/bt2/field_class.py +++ b/src/bindings/python/bt2/bt2/field_class.py @@ -501,14 +501,6 @@ class _DynamicArrayFieldClass(_ArrayFieldClass): return bt2.field_path._FieldPath._create_from_ptr_and_get_ref(ptr) - def _set_length_field_class(self, length_fc): - utils._check_type(length_fc, _UnsignedIntegerFieldClass) - status = native_bt.field_class_dynamic_array_set_length_field_class(self._ptr, length_fc._ptr) - utils._handle_func_status(status, - "cannot set dynamic array length field type") - - _length_field_class = property(fset=_set_length_field_class) - _FIELD_CLASS_TYPE_TO_OBJ = { native_bt.FIELD_CLASS_TYPE_UNSIGNED_INTEGER: _UnsignedIntegerFieldClass,