commit | dec8f4ad43b2852bed15ff6a88890262d0ae126c | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 13:08:12 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 13:08:12 2013 -0400 |
tree | 6047c06d66b041d57e5441824cbd2e6f5270fc41 | |
parent | c2a1c7cf6167512bd1a964f8e98a0e0ac164c279 [diff] |
fix AttributeError
diff --git a/plstackapi/planetstack/api/keys.py b/plstackapi/planetstack/api/keys.py index 23cd878..b42eed5 100644 --- a/plstackapi/planetstack/api/keys.py +++ b/plstackapi/planetstack/api/keys.py
@@ -32,7 +32,7 @@ driver = OpenStackDriver(client = auth_check(auth)) keys = Key.objects.filter(**filter) for key in keys: - driver.delete_key(name=key.name) + driver.delete_keypair(name=key.name) key.delete() return 1