##// END OF EJS Templates
fsmonitor: properly handle str ex.msg...
fsmonitor: properly handle str ex.msg ex.msg is always a str, since pywatchman uses str for exception messages. This commit removes a b'' from a string compare to avoid types mismatch and adds a coercion to bytes before stuffing the exception message on our local exception type, which uses bytes for the message elsewhere in this file. Differential Revision: https://phab.mercurial-scm.org/D7855

File last commit:

r43346:2372284d default
r44531:806d14ef default
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__)