Changeset 176 for trunk


Ignore:
Timestamp:
Oct 10, 2007, 1:53:49 AM (17 years ago)
Author:
ecprice
Message:

Another bare except removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/templates/main.py

    r167 r176  
    512512def deleteVM(machine):
    513513    """Delete a VM."""
    514     try:
    515         remctl('destroy', machine.name)
    516     except:
    517         pass
     514    remctl('destroy', machine.name, err=True)
    518515    transaction = ctx.current.create_transaction()
    519516    delete_disk_pairs = [(machine.name, d.guest_device_name) for d in machine.disks]
Note: See TracChangeset for help on using the changeset viewer.