[Updated] D11469: typing: suppress an name-error warning in `mercurial/windows.py`
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Wed Sep 22 07:56:48 UTC 2021
Closed by commit rHG94d4a3f78e99: typing: suppress an name-error warning in `mercurial/windows.py` (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11469?vs=30343&id=30361
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11469/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11469
AFFECTED FILES
mercurial/windows.py
CHANGE DETAILS
diff --git a/mercurial/windows.py b/mercurial/windows.py
--- a/mercurial/windows.py
+++ b/mercurial/windows.py
@@ -175,7 +175,7 @@
return mixedfilemodewrapper(fp)
return fp
- except WindowsError as err:
+ except WindowsError as err: # pytype: disable=name-error
# convert to a friendlier exception
raise IOError(
err.errno, '%s: %s' % (encoding.strfromlocal(name), err.strerror)
To: mharbison72, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210922/c80d17aa/attachment-0002.html>
More information about the Mercurial-patches
mailing list