Re: [sandbox 10/11] virt-sandbox-image: fix exception catching

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

 



On Wed, Sep 23, 2015 at 09:53:40AM +0200, Cédric Bosdonnat wrote:
> Catch the exception in the main to avoid problems when auto-calling
> another function that fails. For example if run calls create and that
> one fails, run would have ignored the error.
> ---
>  libvirt-sandbox/image/cli.py | 156 ++++++++++++++++++++-----------------------
>  1 file changed, 73 insertions(+), 83 deletions(-)

ACK, this is much simpler and avoids repetition.


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]