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

« back to all changes in this revision

Viewing changes to bin/ivle-remakeuser

  • Committer: Matt Giuca
  • Date: 2009-04-28 08:44:06 UTC
  • Revision ID: matt.giuca@gmail.com-20090428084406-v1dp0ouubpyomemb
ivle.console: Replaced md5 module with hashlib. (md5 is deprecated and
    generates warnings in Python 2.6).

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
import optparse
30
30
import logging
31
31
 
 
32
import ivle.config
32
33
import ivle.database
33
34
import ivle.makeuser
34
35
 
48
49
                          os.path.basename(sys.argv[0])
49
50
    sys.exit(1)
50
51
 
51
 
store = ivle.database.get_store()
 
52
store = ivle.database.get_store(ivle.config.Config())
52
53
 
53
54
if options.all:
54
55
    users = store.find(ivle.database.User).order_by(ivle.database.User.login)