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

« back to all changes in this revision

Viewing changes to bin/ivle-makeuser

  • Committer: Matt Giuca
  • Date: 2009-04-22 02:42:31 UTC
  • Revision ID: matt.giuca@gmail.com-20090422024231-v6v0lrezt37avrxu
setup/install.py: Now uses --prefix to compute the Python site packages path.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    print "Must run %s as root." % os.path.basename(sys.argv[0])
36
36
    sys.exit(1)
37
37
 
38
 
from ivle.config import Config
39
38
from ivle.database import get_store, User
40
39
from ivle.pulldown_subj import enrol_user
41
40
 
81
80
if 'nick' not in user:
82
81
    user['nick'] = user['fullname']
83
82
 
84
 
store = get_store(Config())
 
83
store = get_store()
85
84
 
86
85
try:
87
86
    # Make the user's database entry