D7385: debugcommands: suppress import errors for pytype
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Fri Nov 15 11:33:00 EST 2019
durin42 updated this revision to Diff 18157.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7385?vs=18073&id=18157
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7385/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7385
AFFECTED FILES
mercurial/debugcommands.py
CHANGE DETAILS
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -1544,7 +1544,7 @@
err = None
try:
if cext:
- from .cext import (
+ from .cext import ( # pytype: disable=import-error
base85,
bdiff,
mpatch,
@@ -1554,7 +1554,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,
)
To: durin42, #hg-reviewers, dlax
Cc: dlax, mercurial-devel
More information about the Mercurial-devel
mailing list