mercurial/hgweb/hgwebdir_mod.py
changeset 3479 bbfb392b2b1a
parent 3478 2896ce093ec4
child 3488 8f02223662c8
equal deleted inserted replaced
3478:2896ce093ec4 3479:bbfb392b2b1a
    65             msg = mimetools.Message(header_file, 0)
    65             msg = mimetools.Message(header_file, 0)
    66             req.header(msg.items())
    66             req.header(msg.items())
    67             yield header_file.read()
    67             yield header_file.read()
    68 
    68 
    69         def footer(**map):
    69         def footer(**map):
    70             yield tmpl("footer", motd=self.motd, **map)
    70             yield tmpl("footer", **map)
    71 
    71 
    72         url = req.env['REQUEST_URI'].split('?')[0]
    72         url = req.env['REQUEST_URI'].split('?')[0]
    73         if not url.endswith('/'):
    73         if not url.endswith('/'):
    74             url += '/'
    74             url += '/'
    75 
    75