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

« back to all changes in this revision

Viewing changes to makeuser.py

  • Committer: mattgiuca
  • Date: 2008-02-05 05:53:29 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:416
Propagated the addition of "unixid" to login table down the code chain.
makeuser.py: Passes uid to makeuser.make_user_db.
makeuser.make_user_db: Added uid argument. Passes to db.create_user.
db: create_user: Added unixid argument. Inserts into table.
    get_user: Returns unixid in the dictionary. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
    # Make the user's jail
69
69
    common.makeuser.make_jail(username, uid)
70
70
    # Make the user's database entry
71
 
    common.makeuser.make_user_db(username, password, nick, fullname, rolenm,
72
 
        studentid)
 
71
    common.makeuser.make_user_db(username, uid, password, nick, fullname,
 
72
        rolenm, studentid)
73
73
except Exception, message:
74
74
    print "Error: " + str(message)
75
75
    sys.exit(1)