diff mercurial/bundle2.py @ 30965:f01df5d2fe49

merge with stable
author Augie Fackler <augie@google.com>
date Wed, 15 Feb 2017 11:22:01 -0500
parents 1f51b4658f21 aa25989b0658
children 413b44003462
line wrap: on
line diff
--- a/mercurial/bundle2.py	Mon Feb 13 15:04:46 2017 -0800
+++ b/mercurial/bundle2.py	Wed Feb 15 11:22:01 2017 -0500
@@ -515,7 +515,7 @@
         """setup core part compression to <alg>"""
         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