# HG changeset patch # User Augie Fackler # Date 1573071364 18000 # Node ID 667f56d73ceb6750367db134e919e56ef8106285 # Parent 8e89b6e1e0cd09a8a7031825685ae4c6c1df3087 scmposix: another suppression on IOError subscripting As before, this will clear up when we move to Python 3-only. Differential Revision: https://phab.mercurial-scm.org/D7280 diff -r 8e89b6e1e0cd -r 667f56d73ceb mercurial/scmposix.py --- a/mercurial/scmposix.py Wed Nov 06 15:15:42 2019 -0500 +++ b/mercurial/scmposix.py Wed Nov 06 15:16:04 2019 -0500 @@ -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