diff options
| author | Hornwitser <[email protected]> | 2018-06-22 14:47:56 +0200 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-08-22 21:43:51 -0400 |
| commit | 119c5a0618c82b7f425a59e2e6a8c5ce35c48a37 (patch) | |
| tree | 5dcb485ece928adbc2886c0eebd5fcde7be8093b /discord/ext | |
| parent | [lint] Remove unused imports (diff) | |
| download | discord.py-119c5a0618c82b7f425a59e2e6a8c5ce35c48a37.tar.xz discord.py-119c5a0618c82b7f425a59e2e6a8c5ce35c48a37.zip | |
[lint] Remove unused variables
Left over from various refactoring and rewrites.
Diffstat (limited to 'discord/ext')
| -rw-r--r-- | discord/ext/commands/core.py | 2 |
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 |