Mercurial > public > mercurial-scm > hg
diff mercurial/templater.py @ 10282:08a0f04b56bd
many, many trivial check-code fixups
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 25 Jan 2010 00:05:27 -0600 |
parents | d6512b3e9ac0 |
children | 23e608f42f2c |
line wrap: on
line diff
--- 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]