D7672: pytype: suppress the import-error in util.py when importing re2

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Mon Dec 16 01:31:51 EST 2019


Closed by commit rHG40bd667491a7: pytype: suppress the import-error in util.py when importing re2 (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7672?vs=18736&id=18748

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7672/new/

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, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list