Rename method to handle_events

This commit is contained in:
Christophe Bedard 2019-06-07 13:04:20 +02:00
parent f5f3bfac5f
commit 110c8701e5
2 changed files with 3 additions and 3 deletions

View file

@ -16,9 +16,9 @@ class EventHandler():
""" """
self._handler_map = handler_map 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 :param events (list(dict(str:str))): the events to process
""" """

View file

@ -12,7 +12,7 @@ def ros_process(events):
:return the processor object :return the processor object
""" """
processor = RosProcessor() processor = RosProcessor()
processor.process_events(events) processor.handle_events(events)
return processor return processor