Browse Source

----------------------------------------------------------------------

Modified Files:
 	WSDLTools.py -- partial bug fix for [ 850905 ] wsdl2py crash on a more sophisticated WSDL.
            We do expect a list, but nmtokens is a list separated by a single space.  So if
            "parts" is a string, the just split it to create a list.

 ----------------------------------------------------------------------
main
Joshua Boverhof 21 years ago
parent
commit
c3f54dc95d
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      WSDLTools.py

+ 1
- 3
WSDLTools.py View File

@@ -780,9 +780,7 @@ class SoapBodyBinding:
self.encodingStyle = encodingStyle self.encodingStyle = encodingStyle
self.namespace = namespace self.namespace = namespace
if type(parts) in (type(''), type(u'')): if type(parts) in (type(''), type(u'')):
raise WSDLError(
'The parts argument must be a sequence.'
)
parts = parts.split()
self.parts = parts self.parts = parts
self.use = use self.use = use




Loading…
Cancel
Save