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

« back to all changes in this revision

Viewing changes to bin/ivle-enrolallusers

  • Committer: Matt Giuca
  • Date: 2009-05-19 03:46:48 UTC
  • mto: This revision was merged to the branch mainline in revision 1322.
  • Revision ID: matt.giuca@gmail.com-20090519034648-w8ujsy877c5wrqhy
doc/man: More headings!

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
37
38
import ivle.database
38
39
import ivle.pulldown_subj
39
40
 
54
55
    print >> sys.stderr, "%s must be run as root" % sys.argv[0]
55
56
    sys.exit(1)
56
57
 
57
 
store = ivle.database.get_store()
 
58
store = ivle.database.get_store(ivle.config.Config())
58
59
if options.user is None:
59
60
    users = store.find(ivle.database.User).order_by(ivle.database.User.login)
60
61
else: