TritonDataCenter / python-manta

Python SDK for Manta (community maintained)
MIT License
25 stars 18 forks source link

Fix for TypeError(s) masking MantaError(s) in RawMantaClient.get_object2 #36

Open kitdallege opened 8 years ago

kitdallege commented 8 years ago

A TypeError is raised during string format during the creation of the MantaError message string. As a result the MantaError is never raised. Also the entire content of 'content' is being displayed rather than a comparison of header/body content-lengths.