From 20bd33499fe581bf3dd39ed211b822ec63e14bee Mon Sep 17 00:00:00 2001 From: Henrique Date: Fri, 15 Nov 2019 14:09:05 -0500 Subject: [PATCH] Small fix for 100% coverage --- mitmproxy/command.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mitmproxy/command.py b/mitmproxy/command.py index c7a455878..e75e6d26d 100644 --- a/mitmproxy/command.py +++ b/mitmproxy/command.py @@ -173,16 +173,9 @@ class CommandManager(mitmproxy.types._CommandBase): rex = rex.copy().leaveWhitespace() - remainder = cmdstr - for t, start, end in rex.scanString(cmdstr): - - remainder = cmdstr[end:] parts.append(t[0]) - if remainder != '': - parts.append(remainder) - if not parts: parts = []