~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/security/__init__.py

  • Committer: William Grant
  • Date: 2009-02-27 03:24:23 UTC
  • Revision ID: grantw@unimelb.edu.au-20090227032423-4d2x815i6adzkskg
Unlock the session everywhere as soon as we are done with it, and add a warning
to the Request.get_sessions()'s docstring to do so.

Otherwise, all other requests block.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    except KeyError:
35
35
        return None
36
36
 
 
37
    session.unlock()
 
38
 
37
39
    # Get the full User object from the db associated with this login
38
40
    return ivle.database.User.get_by_login(req.store, login)
39
41