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

« back to all changes in this revision

Viewing changes to bin/ivle-marks

  • Committer: William Grant
  • Date: 2009-05-11 04:51:08 UTC
  • mto: (1165.3.65 submissions-admin)
  • mto: This revision was merged to the branch mainline in revision 1247.
  • Revision ID: grantw@unimelb.edu.au-20090511045108-z70ij6oti5cazyo4
Add an ivle-refreshfilesystem script, which currently just rewrites svn(-group).conf.

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,