[libvirt] [PATCH 3/4] python: optimize SAX xml parsing event handler
Eric Blake
eblake at redhat.com
Thu Feb 28 22:17:39 UTC 2013
On 02/28/2013 03:03 AM, Guannan Ren wrote:
> close(), getmethodname(), cdata() are not standard methods from
> parent class ContentHandler and not being used anywhere in codes,
> so remove them.
>
> In docParser, actually, we are overloading three parent methods
> startElement(), endElement() and characters(), so I rename back
> three of these method names for example from start()
> to startElement() which makes it simpler to read.
>
> make other improvements in codes.
Someone else will have to review this. Sorry.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130228/8ff522fa/attachment-0001.sig>
More information about the libvir-list
mailing list