Mercurial > hg
diff mercurial/formatter.py @ 46926:9c3e84569071
re2: adjust local variable assignment scope
Pytype flagged the exception handler where these are used as `[name-error]`, and
PyCharm complained they may be used before assignment.
Differential Revision: https://phab.mercurial-scm.org/D10376
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 12 Apr 2021 23:31:54 -0400 |
parents | d4ba4d51f85f |
children | df56e6bd37f6 |