diff -r 3e92772d5383 -r 76ff3a715cf2 mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Sun Feb 10 18:24:29 2013 +0100 +++ b/mercurial/hgweb/hgwebdir_mod.py Sun Feb 10 18:24:29 2013 +0100 @@ -197,7 +197,8 @@ if isinstance(tp, str): tp = [tp] static = [os.path.join(p, 'static') for p in tp] - return (staticfile(static, fname, req),) + staticfile(static, fname, req) + return [] # top-level index elif not virtual: