diff --git a/mercurial/hgweb.py b/mercurial/hgweb.py