Rss聚合
Posts
Comments

in soaplib/wsgi_soap.py

there are somethings like

if payload:

and this will cause a futurewarning

FutureWarning: The behavior of this method will change in future versions. Use specific ‘len(elem)’ or ‘elem is not None’ test instead.

and the invoke from java client with axis 1.4 will be failed,so we need to change it as it describes:

change

if payload:

to

if payload is not None:

then it goes well.

Trackback URI | Comments RSS

Leave a Reply

京ICP备05029144