X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/ce218046309253419efd5665ab2fa507e87a1d01..31a80e557fe527ec94c3a490b4b6bd73a4fd9af5:/controls.py diff --git a/controls.py b/controls.py index 4099d3b..620402b 100644 --- a/controls.py +++ b/controls.py @@ -201,6 +201,8 @@ def deleteVM(machine): ctx.current.save(nic) for disk in machine.disks: ctx.current.delete(disk) + for access in machine.users: + ctx.current.delete(access) ctx.current.delete(machine) transaction.commit() except: