aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands
diff options
context:
space:
mode:
authorHornwitser <[email protected]>2018-06-22 14:47:56 +0200
committerRapptz <[email protected]>2018-08-22 21:43:51 -0400
commit119c5a0618c82b7f425a59e2e6a8c5ce35c48a37 (patch)
tree5dcb485ece928adbc2886c0eebd5fcde7be8093b /discord/ext/commands
parent[lint] Remove unused imports (diff)
downloaddiscord.py-119c5a0618c82b7f425a59e2e6a8c5ce35c48a37.tar.xz
discord.py-119c5a0618c82b7f425a59e2e6a8c5ce35c48a37.zip
[lint] Remove unused variables
Left over from various refactoring and rewrites.
Diffstat (limited to 'discord/ext/commands')
-rw-r--r--discord/ext/commands/core.py2
1 files changed, 1 insertions, 1 deletions
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