From: Jérémie Galarneau Date: Fri, 13 Feb 2015 21:16:18 +0000 (-0500) Subject: Remove print_format_list Python function X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=c8e22bcd01d7e07ae6ed48cfef4b991d36cbb4ae;p=deliverable%2Fbabeltrace.git Remove print_format_list Python function Signed-off-by: Jérémie Galarneau --- 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