[virt-tools-list] [PATCH] python-virtinst: add error handling to VirtualDisk._clone_local()

Guido Günther agx at sigxcpu.org
Sat Nov 21 13:43:43 UTC 2009


Hi,
attached patch fixes:

http://bugs.debian.org/555748

src_fd is not defined because the os.open() already fails (i.e. due to
missing permissions). Attached patch (against 0.500.0 but applies
against current hg) catches OSError and propagates the error to the
upper levels. Please apply.
Cheers,
 -- Guido




More information about the virt-tools-list mailing list