projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
17a4873
)
Another bare except removed.
author
Eric Price
<ecprice@mit.edu>
Wed, 10 Oct 2007 05:53:49 +0000
(
01:53
-0400)
committer
Eric Price
<ecprice@mit.edu>
Wed, 10 Oct 2007 05:53:49 +0000
(
01:53
-0400)
svn path=/trunk/web/; revision=176
templates/main.py
patch
|
blob
|
history
diff --git
a/templates/main.py
b/templates/main.py
index
b809430
..
f64fe3d
100755
(executable)
--- a/
templates/main.py
+++ b/
templates/main.py
@@
-511,10
+511,7
@@
def getDiskInfo(data_dict, machine):
def deleteVM(machine):
"""Delete a VM."""
- try:
- remctl('destroy', machine.name)
- except:
- pass
+ remctl('destroy', machine.name, err=True)
transaction = ctx.current.create_transaction()
delete_disk_pairs = [(machine.name, d.guest_device_name) for d in machine.disks]
try: