# HG changeset patch # User Augie Fackler # Date 2019-11-14 03:35:15 # Node ID a9b14ef701d12bdb5a8f4e4582c3e98fdd425ed2 # Parent 127d46468a45d135aa6b296ca88676ae2da4f911 debugcommands: suppress import errors for pytype Differential Revision: https://phab.mercurial-scm.org/D7385 diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -1561,7 +1561,7 @@ def debuginstall(ui, **opts): err = None try: if cext: - from .cext import ( + from .cext import ( # pytype: disable=import-error base85, bdiff, mpatch, @@ -1571,7 +1571,7 @@ def debuginstall(ui, **opts): # quiet pyflakes dir(bdiff), dir(mpatch), dir(base85), dir(osutil) if rustext: - from .rustext import ( + from .rustext import ( # pytype: disable=import-error ancestor, dirstate, )