changeset 2579 | 0875cda033fd |
parent 2558 | 1120302009d7 |
child 2580 | a20a1bb0c396 |
--- a/mercurial/hgweb/hgweb_mod.py Sat Jul 08 16:55:49 2006 +0200 +++ b/mercurial/hgweb/hgweb_mod.py Sun Jul 09 01:30:30 2006 +0200 @@ -462,7 +462,7 @@ continue remain = f[l:] if "/" in remain: - short = remain[:remain.find("/") + 1] # bleah + short = remain[:remain.index("/") + 1] # bleah files[short] = (f, None) else: short = os.path.basename(remain)