commit | a70405382d89ab7643c426b4e48501e8ade019c7 | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Mon Apr 08 21:45:43 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Mon Apr 08 21:45:43 2013 -0400 |
tree | 716c2dbf1a17eca51ed7808e594a81866c261116 | |
parent | 414e690dc4256f12a73e251858bd6acbb5104f52 [diff] |
fix bugs
diff --git a/plstackapi/planetstack/api/roles.py b/plstackapi/planetstack/api/roles.py index 7d2d8ce..bb964f1 100644 --- a/plstackapi/planetstack/api/roles.py +++ b/plstackapi/planetstack/api/roles.py
@@ -14,7 +14,7 @@ def delete_role(auth, role_id): driver = OpenStackDriver(client = auth_check(auth)) role = Role.objects.filter(role_id=role_id) - driver.delete_role(name) + driver.delete_role({'role_id': role_id}) role.delete() return 1