diff options
author | Aldo Cortesi <aldo@corte.si> | 2017-12-16 11:11:25 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2017-12-17 10:11:02 +1300 |
commit | eab27db7d6421fe273040dd6a2596d031e4639e1 (patch) | |
tree | 7949f9ca663c4fabddc88dcc99af88a59095de21 | |
parent | 2649e576910b4a90b6a50db3612f1a2b4c6d9f1a (diff) | |
download | mitmproxy-eab27db7d6421fe273040dd6a2596d031e4639e1.tar.gz mitmproxy-eab27db7d6421fe273040dd6a2596d031e4639e1.tar.bz2 mitmproxy-eab27db7d6421fe273040dd6a2596d031e4639e1.zip |
minor: commandeditor.py -> commandexecutor.py
-rw-r--r-- | mitmproxy/tools/console/commandexecutor.py (renamed from mitmproxy/tools/console/commandeditor.py) | 0 | ||||
-rw-r--r-- | mitmproxy/tools/console/keymap.py | 4 | ||||
-rw-r--r-- | mitmproxy/tools/console/statusbar.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/mitmproxy/tools/console/commandeditor.py b/mitmproxy/tools/console/commandexecutor.py index e57ddbb4..e57ddbb4 100644 --- a/mitmproxy/tools/console/commandeditor.py +++ b/mitmproxy/tools/console/commandexecutor.py diff --git a/mitmproxy/tools/console/keymap.py b/mitmproxy/tools/console/keymap.py index e406905d..b268906c 100644 --- a/mitmproxy/tools/console/keymap.py +++ b/mitmproxy/tools/console/keymap.py @@ -1,5 +1,5 @@ import typing -from mitmproxy.tools.console import commandeditor +from mitmproxy.tools.console import commandexecutor from mitmproxy.tools.console import signals @@ -35,7 +35,7 @@ class Binding: class Keymap: def __init__(self, master): - self.executor = commandeditor.CommandExecutor(master) + self.executor = commandexecutor.CommandExecutor(master) self.keys = {} for c in Contexts: self.keys[c] = {} diff --git a/mitmproxy/tools/console/statusbar.py b/mitmproxy/tools/console/statusbar.py index 6a1f07a9..572b70fc 100644 --- a/mitmproxy/tools/console/statusbar.py +++ b/mitmproxy/tools/console/statusbar.py @@ -4,7 +4,7 @@ import urwid from mitmproxy.tools.console import common from mitmproxy.tools.console import signals -from mitmproxy.tools.console import commandeditor +from mitmproxy.tools.console import commandexecutor import mitmproxy.tools.console.master # noqa from mitmproxy.tools.console.commander import commander @@ -68,7 +68,7 @@ class ActionBar(urwid.WidgetWrap): def sig_prompt_command(self, sender, partial=""): signals.focus.send(self, section="footer") self._w = commander.CommandEdit(self.master, partial) - self.prompting = commandeditor.CommandExecutor(self.master) + self.prompting = commandexecutor.CommandExecutor(self.master) def sig_prompt_onekey(self, sender, prompt, keys, callback, args=()): """ |