hgweb: commit forgotten update to a3d7f99c23c0
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Mon, 09 Feb 2009 13:08:32 +0100
changeset 7742 fceb9fa01a00
parent 7741 a3d7f99c23c0
child 7743 ec9b726a9428
hgweb: commit forgotten update to a3d7f99c23c0
mercurial/hgweb/request.py
--- a/mercurial/hgweb/request.py	Mon Feb 09 11:31:52 2009 +0100
+++ b/mercurial/hgweb/request.py	Mon Feb 09 13:08:32 2009 +0100
@@ -76,8 +76,8 @@
                     raise TypeError('header value must be string: %r' % v)
 
             if isinstance(status, ErrorResponse):
+                self.header(status.headers)
                 status = statusmessage(status.code)
-                self.header(status.headers)
             elif status == 200:
                 status = '200 Script output follows'
             elif isinstance(status, int):