author | roberto@keltia.freenix.fr |
Sat, 27 Aug 2005 23:42:51 -0700 | |
changeset 1119 | 7fca9752d945 |
parent 1118 | 63b5f68d8167 |
child 1120 | df25ee778ac2 |
--- a/mercurial/hgweb.py Sat Aug 27 23:10:49 2005 -0700 +++ b/mercurial/hgweb.py Sat Aug 27 23:42:51 2005 -0700 @@ -939,10 +939,11 @@ virtual = "" if virtual[1:]: - real = self.cp.get("paths", virtual[1:]) - h = hgweb(real) - h.run() - return + if self.cp.has_option("paths", virtual[1:]): + real = self.cp.get("paths", virtual[1:]) + h = hgweb(real) + h.run() + return def header(**map): yield tmpl("header", **map)