D7280: scmposix: another suppression on IOError subscripting
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Nov 7 03:33:40 EST 2019
Closed by commit rHG667f56d73ceb: scmposix: another suppression on IOError subscripting (authored by durin42).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7280?vs=17650&id=17694
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7280/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7280
AFFECTED FILES
mercurial/scmposix.py
CHANGE DETAILS
diff --git a/mercurial/scmposix.py b/mercurial/scmposix.py
--- a/mercurial/scmposix.py
+++ b/mercurial/scmposix.py
@@ -90,7 +90,7 @@
except ValueError:
pass
except IOError as e:
- if e[0] == errno.EINVAL:
+ if e[0] == errno.EINVAL: # pytype: disable=unsupported-operands
pass
else:
raise
To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list