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

« back to all changes in this revision

Viewing changes to bin/ivle-mountallusers

  • Committer: William Grant
  • Date: 2009-04-28 05:06:00 UTC
  • Revision ID: grantw@unimelb.edu.au-20090428050600-hogd9d6wo7ksyqy8
ivle.database.get_store() now takes a configuration object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
import optparse
30
30
import logging
31
31
 
 
32
import ivle.config
32
33
import ivle.database
33
34
import ivle.conf
34
35
 
49
50
                          os.path.basename(sys.argv[0])
50
51
    sys.exit(1)
51
52
 
52
 
store = ivle.database.get_store()
 
53
store = ivle.database.get_store(ivle.config.Config())
53
54
users = store.find(ivle.database.User).order_by(ivle.database.User.login)
54
55
 
55
56
logging.info("mass aufs mount started")