From 3f468878af45091c9374590e668158fd9693ffc0 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Mon, 5 Aug 2019 13:08:37 +0200 Subject: [PATCH] Update get_trace_ctf_events() name --- tracetools_analysis/tracetools_analysis/conversion/ctf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tracetools_analysis/tracetools_analysis/conversion/ctf.py b/tracetools_analysis/tracetools_analysis/conversion/ctf.py index a80202b..8573129 100644 --- a/tracetools_analysis/tracetools_analysis/conversion/ctf.py +++ b/tracetools_analysis/tracetools_analysis/conversion/ctf.py @@ -16,8 +16,8 @@ from pickle import Pickler -from tracetools_read import _get_trace_ctf_events from tracetools_read import event_to_dict +from tracetools_read import get_trace_ctf_events def ctf_to_pickle(trace_directory: str, target: Pickler) -> int: @@ -28,7 +28,7 @@ def ctf_to_pickle(trace_directory: str, target: Pickler) -> int: :param target: the target pickle file to write to :return: the number of events written """ - ctf_events = _get_trace_ctf_events(trace_directory) + ctf_events = get_trace_ctf_events(trace_directory) count = 0 count_written = 0