projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename misleading relation from users to acl.
[invirt/packages/invirt-web.git]
/
controls.py
diff --git
a/controls.py
b/controls.py
index
620402b
..
2e9b541
100644
(file)
--- 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)
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()
ctx.current.delete(access)
ctx.current.delete(machine)
transaction.commit()