Mercurial > hg
changeset 5922:df7f66f290b9
hgweb: cleanup buglet introduced in 956afc025c0f
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Tue, 22 Jan 2008 09:11:06 +0100 |
parents | 549a7ebe1607 |
children | f39110afc039 |
files | mercurial/hgweb/request.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/request.py Tue Jan 22 00:55:01 2008 +0100 +++ b/mercurial/hgweb/request.py Tue Jan 22 09:11:06 2008 +0100 @@ -36,8 +36,7 @@ def start_response(self, status): if self._start_response is not None: if not self.headers: - raise RuntimeError("request.write called before headers sent" + - " (%s)." % thing) + raise RuntimeError("request.write called before headers sent") if isinstance(status, ErrorResponse): status = statusmessage(status.code)