commit | 2b1c12f2991738dfffdd913ac1908be256eb5604 | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 11:51:09 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 11:51:09 2013 -0400 |
tree | 502f7a3c9622e08b6f8c7e7055af15709cb8e6d5 | |
parent | 1724b6484cb94829a63ab02d1d608a269844c74c [diff] |
fix NameError
diff --git a/plstackapi/planetstack/api/users.py b/plstackapi/planetstack/api/users.py index b9e4fca..f02f9d2 100644 --- a/plstackapi/planetstack/api/users.py +++ b/plstackapi/planetstack/api/users.py
@@ -52,7 +52,7 @@ def delete_user(auth, filter={}): driver = OpenStackDriver(client = auth_check(auth)) - users = Users.objects.filter(**filter) + users = User.objects.filter(**filter) for user in users: driver.delete_user(id=user.user_id) user.delete()