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(a)redhat.com | libxml GNOME XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/