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

« back to all changes in this revision

Viewing changes to bin/ivle-showenrolment

  • Committer: Matt Giuca
  • Date: 2010-02-24 11:25:40 UTC
  • mto: This revision was merged to the branch mainline in revision 1701.
  • Revision ID: matt.giuca@gmail.com-20100224112540-ul2xsr1f6jsng2yv
Removed traces of ivle-marks script (installer, documentation).

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
import os
26
26
import sys
27
27
 
 
28
import ivle.config
28
29
import ivle.database
29
30
 
30
31
if len(sys.argv) != 2:
31
32
    print >> sys.stderr, "usage: %s <login>" % os.path.basename(sys.argv[0])
32
33
    sys.exit(1)
33
34
 
34
 
store = ivle.database.get_store()
 
35
store = ivle.database.get_store(ivle.config.Config())
35
36
user = ivle.database.User.get_by_login(store, sys.argv[1])
36
37
 
37
38
if not user: