diff options
-rw-r--r-- | pylint/checkers/exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/exceptions.py b/pylint/checkers/exceptions.py index eeb5693..d4c1746 100644 --- a/pylint/checkers/exceptions.py +++ b/pylint/checkers/exceptions.py @@ -332,7 +332,7 @@ class ExceptionsChecker(BaseChecker): self.add_message('duplicate-except', args=exc.name, node=handler.type) - exceptions_classes += [exc_ for _, exc_ in excs] + exceptions_classes += [exc for _, exc in excs] def register(linter): |