changeset 1537:dfdc636e0030

fix typo in twisted request
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 12 Sep 2006 19:25:17 +0200
parents 151fb34e084f
children e051e6f51ade
files MoinMoin/request/TWISTED.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/TWISTED.py	Tue Sep 12 19:24:03 2006 +0200
+++ b/MoinMoin/request/TWISTED.py	Tue Sep 12 19:25:17 2006 +0200
@@ -117,7 +117,7 @@
         st_header, other_headers = headers[0], headers[1:]
         status = st_header.split(':', 1)[1].lstrip()
         status_code, status_msg = status.split(' ', 1)
-        self.twistd.setResponseCode(status_code, status_message)
+        self.twistd.setResponseCode(status_code, status_msg)
         for header in other_headers:
             key, value = header.split(':', 1)
             value = value.lstrip()