D7672: pytype: suppress the import-error in util.py when importing re2
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Mon Dec 16 04:13:05 UTC 2019
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D7672
AFFECTED FILES
mercurial/util.py
CHANGE DETAILS
diff --git a/mercurial/util.py b/mercurial/util.py
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -2119,7 +2119,7 @@
try:
- import re2
+ import re2 # pytype: disable=import-error
_re2 = None
except ImportError:
To: mharbison72, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list