equal
deleted
inserted
replaced
14 |
14 |
15 # This is a stopgap |
15 # This is a stopgap |
16 class hgwebdir(object): |
16 class hgwebdir(object): |
17 def __init__(self, config, parentui=None): |
17 def __init__(self, config, parentui=None): |
18 def cleannames(items): |
18 def cleannames(items): |
19 return [(util.pconvert(name.strip(os.sep)), path) |
19 return [(util.pconvert(name).strip('/'), path) |
20 for name, path in items] |
20 for name, path in items] |
21 |
21 |
22 self.parentui = parentui |
22 self.parentui = parentui |
23 self.motd = None |
23 self.motd = None |
24 self.style = None |
24 self.style = None |