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

« back to all changes in this revision

Viewing changes to bin/ivle-remakeuser

  • Committer: William Grant
  • Date: 2009-07-05 08:57:26 UTC
  • mto: (1294.4.2 ui-the-third)
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: grantw@unimelb.edu.au-20090705085726-w5aqfe833k3s3c0u
Add a breadcrumb generator (indexes plugins on what breadcrumbs they have).

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
                          os.path.basename(sys.argv[0])
50
50
    sys.exit(1)
51
51
 
52
 
store = ivle.database.get_store(ivle.config.Config())
 
52
config = ivle.config.Config()
 
53
store = ivle.database.get_store(config)
53
54
 
54
55
if options.all:
55
56
    users = store.find(ivle.database.User).order_by(ivle.database.User.login)
63
64
 
64
65
for user in users:
65
66
    try:
66
 
        ivle.makeuser.make_jail(user)
 
67
        ivle.makeuser.make_jail(user, config)
67
68
    except Exception, message:
68
69
        logging.warning(str(message))
69
70
        continue