Fixing arguments to html.WebStatus.__init__
This commit is contained in:
parent
ab920c86bf
commit
76a5963ae5
1 changed files with 3 additions and 2 deletions
|
@ -85,8 +85,9 @@ from buildbot.status.web import authz, auth
|
|||
## The following class is a hack. It is needed because Builbot's
|
||||
## webserver treats everything it doesn't know as text/html. Sigh...
|
||||
class WebStatusWithTextDefault(html.WebStatus):
|
||||
def __init__ (self, **kwargs):
|
||||
html.WebStatus.__init__ (self, kwargs)
|
||||
def __init__ (self, http_port, authz, **kwargs):
|
||||
html.WebStatus.__init__ (self, http_port = http_port,
|
||||
authz = authz, **kwargs)
|
||||
|
||||
def setupSite(self):
|
||||
result = html.WebStatus.setupSite(self)
|
||||
|
|
Loading…
Reference in a new issue