Mercurial > public > mercurial-scm > hg-stable
diff mercurial/posix.py @ 44349:a0ec05d93c8e
cleanup: re-run black on the codebase
Looks like a few patches have landed without having been blackened. I
strongly suspect I should write a patch for baymax that blackens
things on the way in...
# skip-blame automatic formatting
Differential Revision: https://phab.mercurial-scm.org/D8104
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 10 Feb 2020 17:31:05 -0500 |
parents | 9f70512ae2cf |
children | 8e8fd938ca07 |
line wrap: on
line diff
--- 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