From 4a216d887572be68d3644cad55d370da80244324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Sat, 7 Apr 2018 14:18:15 +0200 Subject: [PATCH] Rename SourceCodeEventHandler to WebideEventHandler --- lib/tfw/components/__init__.py | 2 +- .../{source_code_event_handler.py => webide_event_handler.py} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename lib/tfw/components/{source_code_event_handler.py => webide_event_handler.py} (99%) diff --git a/lib/tfw/components/__init__.py b/lib/tfw/components/__init__.py index 661a777..18e7aae 100644 --- a/lib/tfw/components/__init__.py +++ b/lib/tfw/components/__init__.py @@ -4,5 +4,5 @@ from .directory_monitoring_event_handler import DirectoryMonitoringEventHandler from .process_managing_event_handler import ProcessManagingEventHandler from .terminado_event_handler import TerminadoEventHandler -from .source_code_event_handler import SourceCodeEventHandler +from .webide_event_handler import WebideEventHandler from .history_monitor import HistoryMonitor, BashMonitor, GDBMonitor diff --git a/lib/tfw/components/source_code_event_handler.py b/lib/tfw/components/webide_event_handler.py similarity index 99% rename from lib/tfw/components/source_code_event_handler.py rename to lib/tfw/components/webide_event_handler.py index 2c8657d..d3992b4 100644 --- a/lib/tfw/components/source_code_event_handler.py +++ b/lib/tfw/components/webide_event_handler.py @@ -89,7 +89,7 @@ class FileManager: # pylint: disable=too-many-instance-attributes return relpath(self._filepath(filename), start=self._workdir) -class SourceCodeEventHandler(TriggerlessEventHandler): +class WebideEventHandler(TriggerlessEventHandler): # pylint: disable=too-many-arguments def __init__(self, key, directory, allowed_directories, selected_file=None, exclude=None): super().__init__(key)