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
Set machine_access to be a private attribute of machine, so the acl is
[invirt/packages/invirt-web.git]
/
code
/
controls.py
diff --git
a/code/controls.py
b/code/controls.py
index
ff3691c
..
57107ef
100644
(file)
--- a/
code/controls.py
+++ b/
code/controls.py
@@
-196,8
+196,6
@@
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.acl:
- ctx.current.delete(access)
ctx.current.delete(machine)
transaction.commit()
except:
ctx.current.delete(machine)
transaction.commit()
except: