mercurial/hgweb/hgwebdir_mod.py
changeset 18645 76ff3a715cf2
parent 18515 bf8bbbf4aa45
child 19032 7d31f2e42a8a
--- 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: