Mercurial > hg
diff hgext/fsmonitor/pywatchman/encoding.py @ 51690:493034cc3265
black: format the codebase with 23.3.0
The CI has moved to 23.3.0, which is the last version that supports 3.7
at runtime, so we should honor this change.
# skip-blame mass-reformating only
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 18 Jul 2024 12:36:12 +0200 |
parents | f58f955adad4 |
children | 7f0cb9ee0534 |
line wrap: on
line diff
--- a/hgext/fsmonitor/pywatchman/encoding.py Thu Jul 18 12:03:29 2024 +0200 +++ b/hgext/fsmonitor/pywatchman/encoding.py Thu Jul 18 12:36:12 2024 +0200 @@ -46,7 +46,6 @@ # returns None. return sys.getfilesystemencoding() - else: # Python 2 doesn't support surrogateescape, so use 'strict' by # default. Users can register a custom surrogateescape error handler and use