# HG changeset patch # User Augie Fackler # Date 1573068027 18000 # Node ID 9ce76155e0da6d39dbf9b063b689e75416061ee5 # Parent 70d42e2ad9b45713b67a4cfb70ced7a5637cdddf compression: tell pytype to not sweat a missing `zstd` module Differential Revision: https://phab.mercurial-scm.org/D7273 diff -r 70d42e2ad9b4 -r 9ce76155e0da mercurial/utils/compression.py --- 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__