D7385: debugcommands: suppress import errors for pytype
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon Nov 18 22:51:59 EST 2019
Closed by commit rHGa9b14ef701d1: debugcommands: suppress import errors for pytype (authored by durin42).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7385?vs=18157&id=18226
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
@@ -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,
)
To: durin42, #hg-reviewers, dlax, indygreg
Cc: dlax, mercurial-devel
More information about the Mercurial-devel
mailing list