Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix to deserializer if result type does not have a length
An exception will be thrown if a bool is returned from a SOAP service call. `deserialize` soap.py will ask for the length of the result body, but it may not be allowed to take len on some result body types. Added check if length is valid and returns the body directly if it is not. I haven't tested with any other types, such as integers.
- Loading branch information
377d931
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the code comment accurate? It seems to state the opposite of how it works and what the commit describes.