##// END OF EJS Templates
bundle2: fix assertion that 'compression' hasn't been set...
Siddharth Agarwal -
r30915:aa25989b stable
parent child Browse files
Show More
@@ -518,7 +518,7 b' class bundle20(object):'
518 """setup core part compression to <alg>"""
518 """setup core part compression to <alg>"""
519 if alg in (None, 'UN'):
519 if alg in (None, 'UN'):
520 return
520 return
521 assert not any(n.lower() == 'Compression' for n, v in self._params)
521 assert not any(n.lower() == 'compression' for n, v in self._params)
522 self.addparam('Compression', alg)
522 self.addparam('Compression', alg)
523 self._compengine = util.compengines.forbundletype(alg)
523 self._compengine = util.compengines.forbundletype(alg)
524 self._compopts = compopts
524 self._compopts = compopts
General Comments 0
You need to be logged in to leave comments. Login now