diff options
author | Henrique <typoon@gmail.com> | 2019-11-15 14:09:05 -0500 |
---|---|---|
committer | Henrique <typoon@gmail.com> | 2019-11-15 14:09:05 -0500 |
commit | 20bd33499fe581bf3dd39ed211b822ec63e14bee (patch) | |
tree | 99c48cde3ed5b7250530f44717a2811c00474563 | |
parent | 021a14152125ee13657eea772fe3460b478ea099 (diff) | |
download | mitmproxy-20bd33499fe581bf3dd39ed211b822ec63e14bee.tar.gz mitmproxy-20bd33499fe581bf3dd39ed211b822ec63e14bee.tar.bz2 mitmproxy-20bd33499fe581bf3dd39ed211b822ec63e14bee.zip |
Small fix for 100% coverage
-rw-r--r-- | mitmproxy/command.py | 7 |
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 = [] |