From c8e22bcd01d7e07ae6ed48cfef4b991d36cbb4ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Fri, 13 Feb 2015 16:16:18 -0500 Subject: [PATCH] Remove print_format_list Python function MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- bindings/python/bt.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/bindings/python/bt.py b/bindings/python/bt.py index 38e0709a9..db1274dac 100644 --- a/bindings/python/bt.py +++ b/bindings/python/bt.py @@ -244,20 +244,6 @@ class TraceCollection: nbt._bt_ctf_iter_destroy(ctf_it_ptr) -def print_format_list(babeltrace_file): - """ - Print a list of available formats to file. - - babeltrace_file must be a File instance opened in write mode. - """ - - try: - if babeltrace_file._file is not None: - nbt._bt_print_format_list(babeltrace_file._file) - except AttributeError: - raise TypeError("in print_format_list, argument 1 must be a File instance") - - # Based on enum bt_clock_type in clock-type.h class _ClockType: CLOCK_CYCLES = 0 -- 2.34.1