aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/command.py
diff options
context:
space:
mode:
authorHenrique <typoon@gmail.com>2019-11-23 16:36:52 -0500
committerHenrique <typoon@gmail.com>2019-11-23 16:36:52 -0500
commit1d43abcb289823107bd305ed2485af0c3986a270 (patch)
treee67b154d0dcb945dfc55ab6f2224575f7afafb35 /mitmproxy/command.py
parent6d67286bd1e68b12fb1151cc6790e3a4bdadbe57 (diff)
downloadmitmproxy-1d43abcb289823107bd305ed2485af0c3986a270.tar.gz
mitmproxy-1d43abcb289823107bd305ed2485af0c3986a270.tar.bz2
mitmproxy-1d43abcb289823107bd305ed2485af0c3986a270.zip
Making the linter happy
Diffstat (limited to 'mitmproxy/command.py')
-rw-r--r--mitmproxy/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/command.py b/mitmproxy/command.py
index 23c39594..48f9051e 100644
--- a/mitmproxy/command.py
+++ b/mitmproxy/command.py
@@ -100,7 +100,7 @@ class Command:
def prepare_args(self, args: typing.Sequence[str]) -> inspect.BoundArguments:
try:
bound_arguments = self.signature.bind(*args)
- except TypeError as v:
+ except TypeError:
expected = f'Expected: {str(self.signature.parameters)}'
received = f'Received: {str(args)}'
raise exceptions.CommandError(f"Command argument mismatch: \n\t{expected}\n\t{received}")