mercurial/hgweb/hgwebdir_mod.py
changeset 4957 cdd33a048289
parent 4852 edd07be943dd
child 5123 79373ec3f27d
equal deleted inserted replaced
4956:02b127749dc0 4957:cdd33a048289
   242 
   242 
   243                     up = virtual.rfind('/')
   243                     up = virtual.rfind('/')
   244                     if up < 0:
   244                     if up < 0:
   245                         break
   245                         break
   246                     virtual = virtual[:up]
   246                     virtual = virtual[:up]
   247                 
   247 
   248                 req.write(tmpl("notfound", repo=virtual))
   248                 req.write(tmpl("notfound", repo=virtual))
   249             else:
   249             else:
   250                 if req.form.has_key('static'):
   250                 if req.form.has_key('static'):
   251                     static = os.path.join(templater.templatepath(), "static")
   251                     static = os.path.join(templater.templatepath(), "static")
   252                     fname = req.form['static'][0]
   252                     fname = req.form['static'][0]