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

« back to all changes in this revision

Viewing changes to bin/ivle-enrolallusers

  • Committer: Matt Giuca
  • Date: 2009-04-07 10:38:03 UTC
  • Revision ID: matt.giuca@gmail.com-20090407103803-4hver4tlgrjdm9mv
submit: Added tooltip for the due date (which displays the whole date, while
    the page summarises it if it's close to the deadline).

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
import optparse
35
35
import logging
36
36
 
37
 
import ivle.config
38
37
import ivle.database
39
38
import ivle.pulldown_subj
40
39
 
55
54
    print >> sys.stderr, "%s must be run as root" % sys.argv[0]
56
55
    sys.exit(1)
57
56
 
58
 
store = ivle.database.get_store(ivle.config.Config())
 
57
store = ivle.database.get_store()
59
58
if options.user is None:
60
59
    users = store.find(ivle.database.User).order_by(ivle.database.User.login)
61
60
else: