equal
deleted
inserted
replaced
937 virtual = os.environ["PATH_INFO"] |
937 virtual = os.environ["PATH_INFO"] |
938 except: |
938 except: |
939 virtual = "" |
939 virtual = "" |
940 |
940 |
941 if virtual[1:]: |
941 if virtual[1:]: |
942 real = self.cp.get("paths", virtual[1:]) |
942 if self.cp.has_option("paths", virtual[1:]): |
943 h = hgweb(real) |
943 real = self.cp.get("paths", virtual[1:]) |
944 h.run() |
944 h = hgweb(real) |
945 return |
945 h.run() |
|
946 return |
946 |
947 |
947 def header(**map): |
948 def header(**map): |
948 yield tmpl("header", **map) |
949 yield tmpl("header", **map) |
949 |
950 |
950 def footer(**map): |
951 def footer(**map): |