mercurial/hgweb/hgwebdir_mod.py
changeset 5123 79373ec3f27d
parent 4957 cdd33a048289
parent 5063 142a07e758c8
child 5197 55860a45bbf2
equal deleted inserted replaced
5122:487659a90497 5123:79373ec3f27d
    15 
    15 
    16 # This is a stopgap
    16 # This is a stopgap
    17 class hgwebdir(object):
    17 class hgwebdir(object):
    18     def __init__(self, config, parentui=None):
    18     def __init__(self, config, parentui=None):
    19         def cleannames(items):
    19         def cleannames(items):
    20             return [(name.strip(os.sep), path) for name, path in items]
    20             return [(util.pconvert(name.strip(os.sep)), path)
       
    21                     for name, path in items]
    21 
    22 
    22         self.parentui = parentui
    23         self.parentui = parentui
    23         self.motd = None
    24         self.motd = None
    24         self.style = None
    25         self.style = None
    25         self.stripecount = None
    26         self.stripecount = None