changeset 43475:9ce76155e0da

compression: tell pytype to not sweat a missing `zstd` module Differential Revision: https://phab.mercurial-scm.org/D7273
author Augie Fackler <augie@google.com>
date Wed, 06 Nov 2019 14:20:27 -0500
parents 70d42e2ad9b4
children 949b4d545c90
files mercurial/utils/compression.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/utils/compression.py	Wed Nov 06 17:46:26 2019 -0500
+++ b/mercurial/utils/compression.py	Wed Nov 06 14:20:27 2019 -0500
@@ -646,7 +646,7 @@
         # Not all installs have the zstd module available. So defer importing
         # until first access.
         try:
-            from .. import zstd
+            from .. import zstd  # pytype: disable=import-error
 
             # Force delayed import.
             zstd.__version__