From 5dc18ae4baf8d919a3e2a6ea6230f480dc13bde8 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Fri, 26 Dec 2014 16:36:15 -0500 Subject: [PATCH] Initializing webstatus class --- master.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/master.cfg b/master.cfg index 17b64ea..61c7602 100644 --- a/master.cfg +++ b/master.cfg @@ -85,6 +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 setupSite(self): result = html.WebStatus.setupSite(self) self.site.resource.defaultType = r"text/plain"