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

« back to all changes in this revision

Viewing changes to bin/ivle-listusers

  • Committer: Matt Giuca
  • Date: 2010-07-20 12:16:51 UTC
  • mto: This revision was merged to the branch mainline in revision 1818.
  • Revision ID: matt.giuca@gmail.com-20100720121651-rgeeztj6jn1tsrou
Submit page: No longer disables the radio button for closed projects.
Displays them in red rather than grey (grey implies disabled, red implies caution).
Added notice that the deadline has passed, but submission can still be done with a penalty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
import os
28
28
import getopt
29
29
 
 
30
import ivle.config
30
31
import ivle.database
31
32
 
32
33
# Options processing
56
57
    print "Must run listusers.py as root."
57
58
    sys.exit()
58
59
 
59
 
store = ivle.database.get_store()
 
60
store = ivle.database.get_store(ivle.config.Config())
60
61
users = store.find(ivle.database.User).order_by(ivle.database.User.login)
61
62
 
62
63
for user in users: