Mercurial > hg
diff mercurial/hgweb/hgweb_mod.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 | 13a1b2fb7ef2 |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Mon Jan 25 00:05:22 2010 -0600 +++ b/mercurial/hgweb/hgweb_mod.py Mon Jan 25 00:05:27 2010 -0600 @@ -136,7 +136,7 @@ style = cmd.rfind('-') if style != -1: req.form['style'] = [cmd[:style]] - cmd = cmd[style+1:] + cmd = cmd[style + 1:] # avoid accepting e.g. style parameter as command if hasattr(webcommands, cmd):