changeset 7742:fceb9fa01a00

hgweb: commit forgotten update to a3d7f99c23c0
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 09 Feb 2009 13:08:32 +0100
parents a3d7f99c23c0
children ec9b726a9428
files mercurial/hgweb/request.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):