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

« back to all changes in this revision

Viewing changes to bin/ivle-remakeuser

  • Committer: Matt Giuca
  • Date: 2010-02-25 08:21:47 UTC
  • Revision ID: matt.giuca@gmail.com-20100225082147-tus03ah630n74156
ProjectSet view: Prettied up the group management interface, including fixing delete icons.

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
31
32
 
32
33
import ivle.config
33
34
import ivle.database
66
67
    try:
67
68
        ivle.makeuser.make_jail(user, config)
68
69
    except Exception, message:
69
 
        logging.warning(str(message))
 
70
        logging.error("Failed to recreate jail for %s.\n%s" % 
 
71
                      (user.login, traceback.format_exc()))
70
72
        continue
71
73
 
72
74
    logging.debug("recreated user %s's jail." % user.login)