X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/66cccc3c93b4cd7d98c14564db63ee9831c4047e..2fb52b912876c89ec4f93ab296bf514e966b0ce1:/controls.py?ds=sidebyside diff --git a/controls.py b/controls.py index 620402b..2e9b541 100644 --- a/controls.py +++ b/controls.py @@ -201,7 +201,7 @@ def deleteVM(machine): ctx.current.save(nic) for disk in machine.disks: ctx.current.delete(disk) - for access in machine.users: + for access in machine.acl: ctx.current.delete(access) ctx.current.delete(machine) transaction.commit()