Mercurial > public > mercurial-scm > hg
diff mercurial/hgweb/hgweb_mod.py @ 6141:90e5c82a3859
Backed out changeset b913d3aacddc (see issue971/msg5317)
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 18 Feb 2008 19:20:22 +0100 |
parents | b913d3aacddc |
children | 50a277e6ceae |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Fri Feb 01 13:09:45 2008 -0800 +++ b/mercurial/hgweb/hgweb_mod.py Mon Feb 18 19:20:22 2008 +0100 @@ -79,10 +79,9 @@ return nav class hgweb(object): - def __init__(self, repo, name=None, parentui=None): + def __init__(self, repo, name=None): if isinstance(repo, str): - parentui = (parentui or - ui.ui(report_untrusted=False, interactive=False)) + parentui = ui.ui(report_untrusted=False, interactive=False) self.repo = hg.repository(parentui, repo) else: self.repo = repo