##// END OF EJS Templates
fsmonitor: normalize exception types to bytes...
fsmonitor: normalize exception types to bytes Unavailable.msg should now always be bytes. We also rename Unavailable.__str__ to __bytes__ as it always returns bytes. We make __str__ a simple wrapper that decodes that result to str. There's probably some excessive strutil.forcebytestr() in fsmonitor/__init__.py now. But at least the exceptions around type coercion should now be gone. Differential Revision: https://phab.mercurial-scm.org/D7214

File last commit:

r43346:2372284d default
r43716:9a8f8c6e stable
Show More
__init__.py
4 lines | 106 B | text/x-python | PythonLexer
Pierre-Yves David
hgext: officially turn 'hgext' into a namespace package...
r28450 from __future__ import absolute_import
import pkgutil
Augie Fackler
formatting: blacken the codebase...
r43346
Pierre-Yves David
hgext: officially turn 'hgext' into a namespace package...
r28450 __path__ = pkgutil.extend_path(__path__, __name__)