Re: python/libvir.html example needs adjustment

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

 



On Tue, Mar 28, 2006 at 02:45:15PM +0200, Jim Meyering wrote:
> I found that conn.lookupByName throws an exception when the specified
> name is not found.  If the example is just out of date, it should use
> try:/except: instead of comparing dom0 to None, shouldn't it?

  Right, that's something I changed (or rather fixed the exception used to 
not be raised as expected) recently, I fixed the various examples and the
doc, this is in CVs and should be on the web site shortly,

  thanks for the heads up !

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


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