comparison mercurial/hgweb.py @ 956:16c8b36fd3c1

Fix hgwebdir virtual start-up
author mpm@selenic.com
date Fri, 19 Aug 2005 17:01:11 -0800
parents 52d8d81e72ad
children 305ab68c4394
comparison
equal deleted inserted replaced
955:307ca8ca234f 956:16c8b36fd3c1
831 except: 831 except:
832 virtual = "" 832 virtual = ""
833 833
834 if virtual: 834 if virtual:
835 real = self.cp.get("paths", virtual[1:]) 835 real = self.cp.get("paths", virtual[1:])
836 h = hgweb.hgweb(real) 836 h = hgweb(real)
837 h.run() 837 h.run()
838 return 838 return
839 839
840 def header(**map): 840 def header(**map):
841 yield tmpl("header", **map) 841 yield tmpl("header", **map)