##// END OF EJS Templates
hgweb: cleanup buglet introduced in 956afc025c0f
Dirkjan Ochtman -
r5922:df7f66f2 default
parent child Browse files
Show More
@@ -36,8 +36,7 b' class wsgirequest(object):'
36 def start_response(self, status):
36 def start_response(self, status):
37 if self._start_response is not None:
37 if self._start_response is not None:
38 if not self.headers:
38 if not self.headers:
39 raise RuntimeError("request.write called before headers sent" +
39 raise RuntimeError("request.write called before headers sent")
40 " (%s)." % thing)
41
40
42 if isinstance(status, ErrorResponse):
41 if isinstance(status, ErrorResponse):
43 status = statusmessage(status.code)
42 status = statusmessage(status.code)
General Comments 0
You need to be logged in to leave comments. Login now