From 373cc945c0fb15d0713166019ae0132f07c469e2 Mon Sep 17 00:00:00 2001 From: Henrique Date: Sat, 16 Nov 2019 13:14:57 -0500 Subject: [PATCH] Removing dead code --- mitmproxy/command.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/mitmproxy/command.py b/mitmproxy/command.py index a8a2f3dca..32a9c9c1a 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