changeset 43703:a9b14ef701d1

debugcommands: suppress import errors for pytype Differential Revision: https://phab.mercurial-scm.org/D7385
author Augie Fackler <augie@google.com>
date Wed, 13 Nov 2019 22:35:15 -0500
parents 127d46468a45
children 23ad4f0c1578
files mercurial/debugcommands.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Wed Nov 13 22:22:49 2019 -0500
+++ b/mercurial/debugcommands.py	Wed Nov 13 22:35:15 2019 -0500
@@ -1561,7 +1561,7 @@
         err = None
         try:
             if cext:
-                from .cext import (
+                from .cext import (  # pytype: disable=import-error
                     base85,
                     bdiff,
                     mpatch,
@@ -1571,7 +1571,7 @@
                 # quiet pyflakes
                 dir(bdiff), dir(mpatch), dir(base85), dir(osutil)
             if rustext:
-                from .rustext import (
+                from .rustext import (  # pytype: disable=import-error
                     ancestor,
                     dirstate,
                 )