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

« back to all changes in this revision

Viewing changes to bin/ivle-marks

  • Committer: Matt Giuca
  • Date: 2009-04-28 11:19:03 UTC
  • Revision ID: matt.giuca@gmail.com-20090428111903-murkoqeljahrp2d8
usrmgt-server: Removed all references to ivle.conf. Now uses the config
    object.
    (I created a global variable, config, just for the outermost functions to
    use. All of the other functions still use an argument version of config,
    for testing purposes).

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
30
31
 
31
32
if os.getuid() != 0:
32
33
    print >>sys.stderr, "Must run %s as root." % os.path.basename(sys.argv[0])
144
145
    else:
145
146
        cutoff = None
146
147
 
147
 
    store = ivle.database.get_store(ivle.config.Config(plugins=False))
 
148
    store = ivle.database.get_store(ivle.config.Config())
148
149
 
149
150
    # Get the subject from the DB
150
151
    subject = store.find(ivle.database.Subject,