changeset 43879:40bd667491a7

pytype: suppress the import-error in util.py when importing re2 Differential Revision: https://phab.mercurial-scm.org/D7672
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 15 Dec 2019 21:22:27 -0500
parents 38d6aa768310
children eff050dbb703
files mercurial/util.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py	Sun Dec 15 18:30:16 2019 -0500
+++ b/mercurial/util.py	Sun Dec 15 21:22:27 2019 -0500
@@ -2119,7 +2119,7 @@
 
 
 try:
-    import re2
+    import re2  # pytype: disable=import-error
 
     _re2 = None
 except ImportError: