aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/command.py
diff options
context:
space:
mode:
authorHenrique <typoon@gmail.com>2019-11-15 14:09:05 -0500
committerHenrique <typoon@gmail.com>2019-11-15 14:09:05 -0500
commit20bd33499fe581bf3dd39ed211b822ec63e14bee (patch)
tree99c48cde3ed5b7250530f44717a2811c00474563 /mitmproxy/command.py
parent021a14152125ee13657eea772fe3460b478ea099 (diff)
downloadmitmproxy-20bd33499fe581bf3dd39ed211b822ec63e14bee.tar.gz
mitmproxy-20bd33499fe581bf3dd39ed211b822ec63e14bee.tar.bz2
mitmproxy-20bd33499fe581bf3dd39ed211b822ec63e14bee.zip
Small fix for 100% coverage
Diffstat (limited to 'mitmproxy/command.py')
-rw-r--r--mitmproxy/command.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/mitmproxy/command.py b/mitmproxy/command.py
index c7a45587..e75e6d26 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 = []