diff --git a/mercurial/hgweb.py b/mercurial/hgweb.py --- a/mercurial/hgweb.py +++ b/mercurial/hgweb.py @@ -558,7 +558,7 @@ class hgweb: yield {"parity": parity, "path": os.path.join(path, f), "manifest": mnode, - "basename": f[:-1]} + "basename": f[:-1]} parity = 1 - parity yield self.t("manifest", @@ -738,7 +738,6 @@ def create_server(path, name, templates, if not address: address = u.config("web", "address", "") if not port: - print port port = int(u.config("web", "port", 8000)) if not use_ipv6: use_ipv6 = u.configbool("web", "ipv6")