# HG changeset patch # User Augie Fackler # Date 2017-02-15 16:22:01 # Node ID f01df5d2fe493376a67569756a9bc2ddffa5cd81 # Parent afaf3c2b129c8940387fd9928ae4fdc28259d13c # Parent aa25989b0658dcefbd4c1bce7c389f006f22af30 merge with stable diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py --- a/mercurial/bundle2.py +++ b/mercurial/bundle2.py @@ -515,7 +515,7 @@ class bundle20(object): """setup core part compression to """ if alg in (None, 'UN'): return - assert not any(n.lower() == 'Compression' for n, v in self._params) + assert not any(n.lower() == 'compression' for n, v in self._params) self.addparam('Compression', alg) self._compengine = util.compengines.forbundletype(alg) self._compopts = compopts