equal
deleted
inserted
replaced
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 [(util.pconvert(name.strip(os.sep)), path) |
20 return [(util.pconvert(name).strip('/'), path) |
21 for name, path in items] |
21 for name, path in items] |
22 |
22 |
23 self.parentui = parentui |
23 self.parentui = parentui |
24 self.motd = None |
24 self.motd = None |
25 self.style = None |
25 self.style = None |