Skip to content

Commit

Permalink
Merge pull request #610 from edreamleo/ekr-pyflakes-nit2
Browse files Browse the repository at this point in the history
PR: Remove a pyflakes nit and a flake8 suppression
  • Loading branch information
lieryan committed Dec 16, 2022
2 parents fae855e + 59e4fcc commit dc982b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rope/refactor/patchedast.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ def consume(self, token, skip_comment=True):
break
else:
self._skip_comment()
except (ValueError, TypeError) as e: # noqa
except (ValueError, TypeError):
raise MismatchedTokenError(
f"Token <{token}> at {self._get_location()} cannot be matched"
)
Expand Down

0 comments on commit dc982b2

Please sign in to comment.