[libvirt] [PATCH 3/4] python: optimize SAX xml parsing event handler

2013-02-28 Thread Guannan Ren
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

Re: [libvirt] [PATCH 3/4] python: optimize SAX xml parsing event handler

2013-02-28 Thread Eric Blake
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