Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/hgweb.py @ 1121:14a69c4988cd
NoOptionError is unknown there.
author | Ollivier Robert <roberto@keltia.freenix.fr> |
---|---|
date | Sat, 27 Aug 2005 23:43:13 -0700 |
parents | df25ee778ac2 |
children | fb008a1a0a32 |
comparison
equal
deleted
inserted
replaced
1120:df25ee778ac2 | 1121:14a69c4988cd |
---|---|
948 try: | 948 try: |
949 real = self.cp.get("paths", virtual) | 949 real = self.cp.get("paths", virtual) |
950 h = hgweb(real) | 950 h = hgweb(real) |
951 h.run() | 951 h.run() |
952 return | 952 return |
953 except NoOptionError: | 953 except: |
954 httpnotfound(virtual) | 954 httpnotfound(virtual) |
955 return | 955 return |
956 | 956 |
957 def header(**map): | 957 def header(**map): |
958 yield tmpl("header", **map) | 958 yield tmpl("header", **map) |