changeset 10282 | 08a0f04b56bd |
parent 10264 | d6512b3e9ac0 |
child 10339 | 23e608f42f2c |
--- a/mercurial/templater.py Mon Jan 25 00:05:22 2010 -0600 +++ b/mercurial/templater.py Mon Jan 25 00:05:27 2010 -0600 @@ -77,7 +77,7 @@ raise SyntaxError(_("error expanding '%s%%%s'") % (key, format)) lm = map.copy() for i in v: - if isinstance(i, dict): + if isinstance(i, dict): lm.update(i) yield self.process(format, lm) else: @@ -244,7 +244,6 @@ styles = [styles] for style in styles: - if not style: continue locations = [os.path.join(style, 'map'), 'map-' + style]