changeset 44306 | a0ec05d93c8e |
parent 43506 | 9f70512ae2cf |
child 44867 | 8e8fd938ca07 |
--- a/mercurial/posix.py Thu Jan 16 13:34:04 2020 +0100 +++ b/mercurial/posix.py Mon Feb 10 17:31:05 2020 -0500 @@ -324,9 +324,8 @@ open(fullpath, b'w').close() except IOError as inst: if ( - inst[0] # pytype: disable=unsupported-operands - == errno.EACCES - ): + inst[0] == errno.EACCES + ): # pytype: disable=unsupported-operands # If we can't write to cachedir, just pretend # that the fs is readonly and by association # that the fs won't support symlinks. This