changeset 1121:91ffa85ac616

Fixed severe bug in Standalone that referred to non-existant class attributes in a dynamic way.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Thu, 03 Aug 2006 18:20:04 +0200
parents 72a208bfe579
children 2be8ec7ba817
files MoinMoin/request/STANDALONE.py
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/STANDALONE.py	Wed Aug 02 01:17:25 2006 +0200
+++ b/MoinMoin/request/STANDALONE.py	Thu Aug 03 18:20:04 2006 +0200
@@ -33,10 +33,8 @@
             self.http_user_agent = sa.headers.getheader('user-agent', '')
             co = filter(None, sa.headers.getheaders('cookie'))
             self.saved_cookie = ', '.join(co) or ''
-            self.if_modified_since = (sa.headers.getheader('if-modified-since')
-                                      or self.if_modified_since)
-            self.if_none_match = (sa.headers.getheader('if-none-match')
-                                  or self.if_none_match)
+            self.if_modified_since = sa.headers.getheader('if-modified-since')
+            self.if_none_match = sa.headers.getheader('if-none-match')
 
             # Copy rest from standalone request   
             self.server_name = sa.server.server_name