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

Signed-off-by: Eduardo Habkost <[email protected]>
---
 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to