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

« back to all changes in this revision

Viewing changes to services/usrmgt-server

  • Committer: me at id
  • Date: 2009-01-15 03:02:36 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:branches%2Fstorm:1150
ivle.makeuser.make_jail: Just take an ivle.database.User, rather than some
    attributes.

services/usrmgt-server: Give make_jail a User.

bin/ivle-remakeuser: Rewrite to use ivle.database.User.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
                                         throw_on_error=True)
58
58
 
59
59
    logging.debug("Creating jail")
60
 
    ivle.makeuser.make_jail(login, user.unixid, svn_pass=passwd)
 
60
    ivle.makeuser.make_jail(user)
61
61
 
62
62
    logging.info("Enabling user")
63
63
    user.state = u'enabled'