comparison mercurial/hgweb.py @ 1541:bf4e7ef08741

fixed some stuff pychecker shows, marked unclear/wrong stuff with XXX
author twaldmann@thinkmo.de
date Mon, 14 Nov 2005 03:59:35 +0200
parents 0d47bb884330
children d69070c2547a
comparison
equal deleted inserted replaced
1540:8ca9f5b17257 1541:bf4e7ef08741
952 return BaseHTTPServer.HTTPServer((address, port), hgwebhandler) 952 return BaseHTTPServer.HTTPServer((address, port), hgwebhandler)
953 953
954 def server(path, name, templates, address, port, use_ipv6=False, 954 def server(path, name, templates, address, port, use_ipv6=False,
955 accesslog=sys.stdout, errorlog=sys.stderr): 955 accesslog=sys.stdout, errorlog=sys.stderr):
956 httpd = create_server(path, name, templates, address, port, use_ipv6, 956 httpd = create_server(path, name, templates, address, port, use_ipv6,
957 accesslog, errorlog) 957 accesslog, errorlog) # XXX wrong param count
958 httpd.serve_forever() 958 httpd.serve_forever()
959 959
960 # This is a stopgap 960 # This is a stopgap
961 class hgwebdir: 961 class hgwebdir:
962 def __init__(self, config): 962 def __init__(self, config):