mercurial/hgweb/hgwebdir_mod.py
changeset 34702 b2316265a32e
parent 34612 c2cb6be4212f
child 34703 d1fccbd50fcd
equal deleted inserted replaced
34701:6db536bed7ec 34702:b2316265a32e
   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('/'):