From 119c5a0618c82b7f425a59e2e6a8c5ce35c48a37 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Fri, 22 Jun 2018 14:47:56 +0200 Subject: [lint] Remove unused variables Left over from various refactoring and rewrites. --- discord/ext/commands/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/ext') diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index b79f5b97..56c4baff 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -321,7 +321,7 @@ class Command: try: # first/second parameter is context result.popitem(last=False) - except Exception as e: + except Exception: raise ValueError('Missing context parameter') from None return result -- cgit v1.2.3