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

« back to all changes in this revision

Viewing changes to bin/ivle-remakeuser

  • Committer: William Grant
  • Date: 2009-05-26 03:06:53 UTC
  • Revision ID: grantw@unimelb.edu.au-20090526030653-axxawt0o5ws4icbt
Remove ivle.conf usage from ivle.studpath.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
import os
29
29
import optparse
30
30
import logging
31
 
import traceback
32
31
 
33
32
import ivle.config
34
33
import ivle.database
67
66
    try:
68
67
        ivle.makeuser.make_jail(user, config)
69
68
    except Exception, message:
70
 
        logging.error("Failed to recreate jail for %s.\n%s" % 
71
 
                      (user.login, traceback.format_exc()))
 
69
        logging.warning(str(message))
72
70
        continue
73
71
 
74
72
    logging.debug("recreated user %s's jail." % user.login)