hgext/__init__.py
author Matt Harbison <matt_harbison@yahoo.com>
Thu, 11 Mar 2021 21:02:03 -0500
branchstable
changeset 46403 ed0899e01628
parent 43076 2372284d9457
child 48966 6000f5b25c9b
permissions -rw-r--r--
verify: convert an exception to bytes before logging I'm not entirely sure why this code appears to be trying to convert twice, but it was flagged by pytype: File "/mnt/c/Users/Matt/hg/mercurial/verify.py", line 84, in _exc: Function _bytestr.__init__ was called with the wrong arguments [wrong-arg-types] Expected: (self, ints: Iterable[int]) Actually passed: (self, ints: Exception) The following methods aren't implemented on Exception: __iter__ Differential Revision: https://phab.mercurial-scm.org/D10181

from __future__ import absolute_import
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)