[Libvir] python/libvir.html example needs adjustment
Daniel Veillard
veillard at redhat.com
Tue Mar 28 14:54:20 UTC 2006
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 at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list
mailing list