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

« back to all changes in this revision

Viewing changes to ivle/dispatch/request.py

  • Committer: William Grant
  • Date: 2009-04-28 05:06:00 UTC
  • Revision ID: grantw@unimelb.edu.au-20090428050600-hogd9d6wo7ksyqy8
ivle.database.get_store() now takes a configuration object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    pass
35
35
 
36
36
import ivle.util
37
 
import ivle.conf
38
37
import ivle.database
39
38
from ivle.webapp.base.plugins import CookiePlugin
40
39
 
187
186
 
188
187
        # Open a database connection and transaction, keep it around for users
189
188
        # of the Request object to use
190
 
        self.store = ivle.database.get_store()
 
189
        self.store = ivle.database.get_store(config)
191
190
 
192
191
        # Default values for the output members
193
192
        self.status = Request.HTTP_OK