From: <wa...@us...> - 2008-05-15 18:53:09
|
Revision: 1456 http://pywebsvcs.svn.sourceforge.net/pywebsvcs/?rev=1456&view=rev Author: warnes Date: 2008-05-15 11:53:06 -0700 (Thu, 15 May 2008) Log Message: ----------- Fix handling of boolean arrays, bug #1936883 Modified Paths: -------------- trunk/SOAPpy/SOAPpy/Parser.py trunk/SOAPpy/tests/Makefile Modified: trunk/SOAPpy/SOAPpy/Parser.py =================================================================== --- trunk/SOAPpy/SOAPpy/Parser.py 2008-05-15 17:20:09 UTC (rev 1455) +++ trunk/SOAPpy/SOAPpy/Parser.py 2008-05-15 18:53:06 UTC (rev 1456) @@ -855,7 +855,7 @@ #print " data=", d if t[0] in NS.EXSD_L: - if t[1] == "integer": + if t[1] in ["int", "integer"]: try: d = int(d) if len(attrs): @@ -883,7 +883,7 @@ return str(dnn) except: return dnn - if t[1] == "boolean": + if t[1] in ["bool", "boolean"]: d = d.strip().lower() if d in ('0', 'false'): return False Modified: trunk/SOAPpy/tests/Makefile =================================================================== --- trunk/SOAPpy/tests/Makefile 2008-05-15 17:20:09 UTC (rev 1455) +++ trunk/SOAPpy/tests/Makefile 2008-05-15 18:53:06 UTC (rev 1456) @@ -4,7 +4,7 @@ card independent \ testClient1 outside_services -bugs: Bug1001646 Bug916265 Bug1161780 +bugs: Bug1001646 Bug916265 Bug1161780 Bug1936883 echoClient: $(PYTHON) echoServer.py >& echoServer_echoClient.log & @@ -31,6 +31,9 @@ $(PYTHON) esj_test_client.py +Bug1936883: + $(PYTHON) Bug1936883.py + Bug1161780: $(PYTHON) Bug1161780.py This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |