From 110c8701e5704a568ef53026664cfbab0516b72b Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Fri, 7 Jun 2019 13:04:20 +0200 Subject: [PATCH] Rename method to handle_events --- tracetools_analysis/analysis/handler.py | 4 ++-- tracetools_analysis/analysis/ros_processor.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tracetools_analysis/analysis/handler.py b/tracetools_analysis/analysis/handler.py index 1308d1e..350d2fe 100644 --- a/tracetools_analysis/analysis/handler.py +++ b/tracetools_analysis/analysis/handler.py @@ -16,9 +16,9 @@ class EventHandler(): """ self._handler_map = handler_map - def process_events(self, events): + def handle_events(self, events): """ - Process events by calling their handlers. + Handle events by calling their handlers. :param events (list(dict(str:str))): the events to process """ diff --git a/tracetools_analysis/analysis/ros_processor.py b/tracetools_analysis/analysis/ros_processor.py index 430f6ac..3c47c99 100644 --- a/tracetools_analysis/analysis/ros_processor.py +++ b/tracetools_analysis/analysis/ros_processor.py @@ -12,7 +12,7 @@ def ros_process(events): :return the processor object """ processor = RosProcessor() - processor.process_events(events) + processor.handle_events(events) return processor