aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/command.py
diff options
context:
space:
mode:
authorHenrique <typoon@gmail.com>2019-11-16 13:14:57 -0500
committerHenrique <typoon@gmail.com>2019-11-16 13:14:57 -0500
commit373cc945c0fb15d0713166019ae0132f07c469e2 (patch)
treeb7f567fa48cb8c3580025fd850aec7c8361db72e /mitmproxy/command.py
parenta0ef36727e8c7910ddec3941dcd0ead7cc3a44c7 (diff)
downloadmitmproxy-373cc945c0fb15d0713166019ae0132f07c469e2.tar.gz
mitmproxy-373cc945c0fb15d0713166019ae0132f07c469e2.tar.bz2
mitmproxy-373cc945c0fb15d0713166019ae0132f07c469e2.zip
Removing dead code
Diffstat (limited to 'mitmproxy/command.py')
-rw-r--r--mitmproxy/command.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/mitmproxy/command.py b/mitmproxy/command.py
index a8a2f3dc..32a9c9c1 100644
--- a/mitmproxy/command.py
+++ b/mitmproxy/command.py
@@ -166,14 +166,6 @@ class CommandManager(mitmproxy.types._CommandBase):
for t, start, end in self.regex.scanString(cmdstr):
parts.append(t[0])
- # First item in parts has always to be the command
- # so we remove any blank tokens from the start of it
- # while True:
- # if parts and parts[0].strip() == '':
- # del parts[0]
- # else:
- # break
-
parse: typing.List[ParseResult] = []
params: typing.List[type] = []
typ: typing.Type