Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/hgwebdir_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 | 4612cded5176 |
comparison
equal
deleted
inserted
replaced
10281:e7d3b509af8b | 10282:08a0f04b56bd |
---|---|
322 'paper' | 322 'paper' |
323 ) | 323 ) |
324 style, mapfile = templater.stylemap(styles) | 324 style, mapfile = templater.stylemap(styles) |
325 if style == styles[0]: | 325 if style == styles[0]: |
326 vars['style'] = style | 326 vars['style'] = style |
327 | 327 |
328 start = url[-1] == '?' and '&' or '?' | 328 start = url[-1] == '?' and '&' or '?' |
329 sessionvars = webutil.sessionvars(vars, start) | 329 sessionvars = webutil.sessionvars(vars, start) |
330 staticurl = config('web', 'staticurl') or url + 'static/' | 330 staticurl = config('web', 'staticurl') or url + 'static/' |
331 if not staticurl.endswith('/'): | 331 if not staticurl.endswith('/'): |
332 staticurl += '/' | 332 staticurl += '/' |