summaryrefslogtreecommitdiffstats
path: root/nova/auth
diff options
context:
space:
mode:
authorSoren Hansen <soren.hansen@rackspace.com>2010-09-10 14:56:36 +0200
committerSoren Hansen <soren.hansen@rackspace.com>2010-09-10 14:56:36 +0200
commitc3dd0aa79d982d8f34172e6023d4b632ea23f2b9 (patch)
tree490a63f31baec93a2a705f017077a1372e4e94aa /nova/auth
parentecbbfa343edf0ca0e82b35dc655fa23701bbdf22 (diff)
First pass of nwfilter based security group implementation. It is not where it is supposed to be and it does not actually do anything yet.
Diffstat (limited to 'nova/auth')
-rw-r--r--nova/auth/manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/auth/manager.py b/nova/auth/manager.py
index 6aa5721c8..281e2d8f0 100644
--- a/nova/auth/manager.py
+++ b/nova/auth/manager.py
@@ -649,7 +649,7 @@ class AuthManager(object):
def delete_user(self, user):
"""Deletes a user"""
with self.driver() as drv:
- for security_group in db.security_group_get_by_user(context = {}, user_id=user.id):
+ for security_group in db.security_group_get_by_user(context = {}, user_id=User.safe_id(user)):
db.security_group_destroy({}, security_group.id)
drv.delete_user(User.safe_id(user))