Changeset 159 for trunk/web/templates
- Timestamp:
- Oct 9, 2007, 8:10:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/templates/main.py
r158 r159 511 511 def deleteVM(machine): 512 512 """Delete a VM.""" 513 remctl('destroy', machine.name) 513 try: 514 remctl('destroy', machine.name) 515 except: 516 pass 514 517 transaction = ctx.current.create_transaction() 515 518 delete_disk_pairs = [(machine.name, d.guest_device_name) for d in machine.disks]
Note: See TracChangeset
for help on using the changeset viewer.