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

« back to all changes in this revision

Viewing changes to bin/ivle-marks

  • 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:
33
33
    print >>sys.stderr, "Must run %s as root." % os.path.basename(sys.argv[0])
34
34
    sys.exit()
35
35
 
 
36
import ivle.config
36
37
import ivle.database
37
38
import ivle.worksheet.utils
38
 
import ivle.conf
39
39
 
40
40
def get_userdata(user):
41
41
    """
145
145
    else:
146
146
        cutoff = None
147
147
 
148
 
    store = ivle.database.get_store()
 
148
    store = ivle.database.get_store(ivle.config.Config())
149
149
 
150
150
    # Get the subject from the DB
151
151
    subject = store.find(ivle.database.Subject,