Rename ServerConnector interface to Connector ¯\_(ツ)_/¯

This commit is contained in:
Kristóf Tóth
2019-07-30 15:17:29 +02:00
parent fd92c443b2
commit 30223fe99f
21 changed files with 110 additions and 110 deletions

View File

@ -22,7 +22,7 @@ class TerminalHandler:
:param key: key this EventHandler listens to
:param monitor: tfw.components.HistoryMonitor instance to read command history from
"""
self.server_connector = None
self.connector = None
self._histfile = histfile
self._historymonitor = None
bash_as_user_cmd = ['sudo', '-u', user, 'bash']
@ -42,7 +42,7 @@ class TerminalHandler:
self.terminado_server.listen()
def start(self):
self._historymonitor = BashMonitor(self.server_connector, self._histfile)
self._historymonitor = BashMonitor(self.connector, self._histfile)
self._historymonitor.start()
@property