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

« back to all changes in this revision

Viewing changes to bin/ivle-makeuser

  • Committer: Matt Giuca
  • Date: 2009-05-19 02:54:08 UTC
  • mfrom: (1258 trunk)
  • mto: This revision was merged to the branch mainline in revision 1322.
  • Revision ID: matt.giuca@gmail.com-20090519025408-19c7cjl7w6ot6frm
MergedĀ fromĀ trunk.

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
38
39
from ivle.database import get_store, User
39
40
from ivle.pulldown_subj import enrol_user
40
41
 
80
81
if 'nick' not in user:
81
82
    user['nick'] = user['fullname']
82
83
 
83
 
store = get_store()
 
84
store = get_store(Config())
84
85
 
85
86
try:
86
87
    # Make the user's database entry