[KVM-AUTOTEST PATCH] scripts/unattended.py: don't ignore exceptions on floppy setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oops. I guess it was not intended to ignore the exception, but just do
cleanup in case of errors.

Signed-off-by: Eduardo Habkost <ehabkost@xxxxxxxxxx>
---
 client/tests/kvm/scripts/unattended.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/client/tests/kvm/scripts/unattended.py b/client/tests/kvm/scripts/unattended.py
index e9e4751..92212c8 100755
--- a/client/tests/kvm/scripts/unattended.py
+++ b/client/tests/kvm/scripts/unattended.py
@@ -144,6 +144,7 @@ class FloppyDisk(Disk):
             run(m_cmd, info='Could not mount floppy image')
         except:
             cleanup(self.mount)
+            raise
 
 
     def _copy_virtio_drivers(self, virtio_floppy):
-- 
1.7.3.2

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux