Commits

Richard Jones committed 5b50f1b

fix

Comments (0)

Files changed (1)

     c.execute('update comments_journal set submitted_by=%s where submitted_by=%s', (new, old))
     c.execute('delete from users where name=%s', (old,))
 
-def show_user(store, user):
+def show_user(store, name):
     c = store.get_cursor()
-    user = store.get_user()
+    user = store.get_user(name)
     if not user:
-        sys.exit('user %r does not exist' % user)
+        sys.exit('user %r does not exist' % name)
     for key in user.keys():
         print '%s: %s' % (key, user[key])
     for p in store.get_user_packages(user):