aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy
diff options
context:
space:
mode:
authorHenrique <typoon@gmail.com>2019-11-15 18:15:56 -0500
committerHenrique <typoon@gmail.com>2019-11-15 18:15:56 -0500
commita244ece0e55db1ac4895e3ee20b138ab3c617ca2 (patch)
treece90a2cf0971f237a50feb31c01cb510d23dcfd2 /mitmproxy
parent20bd33499fe581bf3dd39ed211b822ec63e14bee (diff)
downloadmitmproxy-a244ece0e55db1ac4895e3ee20b138ab3c617ca2.tar.gz
mitmproxy-a244ece0e55db1ac4895e3ee20b138ab3c617ca2.tar.bz2
mitmproxy-a244ece0e55db1ac4895e3ee20b138ab3c617ca2.zip
Removed useless else that prevented 100% code coverage
Diffstat (limited to 'mitmproxy')
-rw-r--r--mitmproxy/tools/console/commander/commander.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mitmproxy/tools/console/commander/commander.py b/mitmproxy/tools/console/commander/commander.py
index 4909348f..a13e5792 100644
--- a/mitmproxy/tools/console/commander/commander.py
+++ b/mitmproxy/tools/console/commander/commander.py
@@ -103,8 +103,6 @@ class CommandBuffer:
ret.append(("text", p.value))
elif p.value:
ret.append(("commander_invalid", p.value))
- else:
- ret.append(("text", ""))
if remhelp:
ret.append(("text", " "))