Re: [PATCH libvirt-python] examples: Fix connection error handling

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

 



On Mon, Apr 20, 2020 at 08:05:00AM +0200, Philipp Hahn wrote:
> libvirt.open*() does not return None but raises an exception
> 
> Signed-off-by: Philipp Hahn <hahn@xxxxxxxxxxxxx>
> ---
>  examples/dominfo.py    | 5 +++--
>  examples/domrestore.py | 5 +++--
>  examples/domsave.py    | 5 +++--
>  examples/domstart.py   | 5 +++--
>  examples/esxlist.py    | 6 +++---
>  5 files changed, 15 insertions(+), 11 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>


and pushed to git

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|





[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]

  Powered by Linux