Remove print_format_list Python function
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 13 Feb 2015 21:16:18 +0000 (16:16 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 13 Feb 2015 21:16:18 +0000 (16:16 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
bindings/python/bt.py

index 38e0709a991152313c66bb5f9fbfcb5b550cd2e8..db1274dac1b7fe277033f661850f53e24bda7cc8 100644 (file)
@@ -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
This page took 0.027028 seconds and 4 git commands to generate.