Ticket #1137: sessionwrapper.diff

File sessionwrapper.diff, 484 bytes (added by brantley, 9 years ago)

patch for problem

  • sessions.py

     
    99class SessionWrapper(object):
    1010    def __init__(self, session_key):
    1111        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
    1316
    1417    def __getitem__(self, key):
    1518        return self._session[key]
Back to Top