equal
deleted
inserted
replaced
506 styles, (style, mapfile) = hgweb_mod.getstyle(req, config, |
506 styles, (style, mapfile) = hgweb_mod.getstyle(req, config, |
507 self.templatepath) |
507 self.templatepath) |
508 if style == styles[0]: |
508 if style == styles[0]: |
509 vars['style'] = style |
509 vars['style'] = style |
510 |
510 |
511 start = url[-1] == '?' and '&' or '?' |
511 start = '&' if url[-1] == '?' else '?' |
512 sessionvars = webutil.sessionvars(vars, start) |
512 sessionvars = webutil.sessionvars(vars, start) |
513 logourl = config('web', 'logourl') |
513 logourl = config('web', 'logourl') |
514 logoimg = config('web', 'logoimg') |
514 logoimg = config('web', 'logoimg') |
515 staticurl = config('web', 'staticurl') or url + 'static/' |
515 staticurl = config('web', 'staticurl') or url + 'static/' |
516 if not staticurl.endswith('/'): |
516 if not staticurl.endswith('/'): |