changeset 1943:0612584310a0

make default session object an empty dict to ease use
author Johannes Berg <johannes AT sipsolutions DOT net>
date Wed, 04 Apr 2007 01:02:12 +0200
parents d5ac6f9a13d4
children ff46fa76e13f
files MoinMoin/request/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/__init__.py	Wed Apr 04 01:01:26 2007 +0200
+++ b/MoinMoin/request/__init__.py	Wed Apr 04 01:02:12 2007 +0200
@@ -155,7 +155,7 @@
 
         # session handling. users cannot rely on a session being
         # created, but we should always set request.session
-        self.session = None
+        self.session = {}
 
         # setuid handling requires an attribute in the request
         # that stores the real user