Ticket #1137: sessionwrapper.diff
File sessionwrapper.diff, 484 bytes (added by , 19 years ago) |
---|
-
sessions.py
9 9 class SessionWrapper(object): 10 10 def __init__(self, session_key): 11 11 self.session_key = session_key 12 self.modified = False 12 self.modified = False 13 14 def __contains__(self, key): 15 return key in self._session 13 16 14 17 def __getitem__(self, key): 15 18 return self._session[key]