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

« back to all changes in this revision

Viewing changes to bin/ivle-marks

  • Committer: David Coles
  • Date: 2009-12-07 06:43:01 UTC
  • Revision ID: coles.david@gmail.com-20091207064301-2t1if3ixorclqm9n
Documentation for ivle.conf configuration file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
import csv
28
28
import datetime
29
29
import optparse
30
 
from xml.dom import minidom
31
30
 
32
31
if os.getuid() != 0:
33
32
    print >>sys.stderr, "Must run %s as root." % os.path.basename(sys.argv[0])
34
33
    sys.exit()
35
34
 
 
35
import ivle.config
36
36
import ivle.database
37
37
import ivle.worksheet.utils
38
 
import ivle.conf
39
38
 
40
39
def get_userdata(user):
41
40
    """
145
144
    else:
146
145
        cutoff = None
147
146
 
148
 
    store = ivle.database.get_store()
 
147
    store = ivle.database.get_store(ivle.config.Config(plugins=False))
149
148
 
150
149
    # Get the subject from the DB
151
150
    subject = store.find(ivle.database.Subject,