Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/webcommands.py @ 18645:76ff3a715cf2
hgweb: simplify internal staticfile return codes
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 10 Feb 2013 18:24:29 +0100 |
parents | 3490c91a1fcb |
children | f5db3092790f |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Sun Feb 10 18:24:29 2013 +0100 +++ b/mercurial/hgweb/webcommands.py Sun Feb 10 18:24:29 2013 +0100 @@ -842,7 +842,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 [] def graph(web, req, tmpl):