Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb.py @ 1545:d69070c2547a
fix errors found by pychecker
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 14 Nov 2005 16:10:59 +0100 |
parents | bf4e7ef08741 |
children | 68ec7b9e09a4 |
line wrap: on
line diff
--- a/mercurial/hgweb.py Mon Nov 14 15:10:10 2005 +0100 +++ b/mercurial/hgweb.py Mon Nov 14 16:10:59 2005 +0100 @@ -951,12 +951,6 @@ else: return BaseHTTPServer.HTTPServer((address, port), hgwebhandler) -def server(path, name, templates, address, port, use_ipv6=False, - accesslog=sys.stdout, errorlog=sys.stderr): - httpd = create_server(path, name, templates, address, port, use_ipv6, - accesslog, errorlog) # XXX wrong param count - httpd.serve_forever() - # This is a stopgap class hgwebdir: def __init__(self, config):