s3tools/s3cmd — pull request #32 by kellymclaughlin (2012-02-29 23:23:43+00:00)
Title: Handle empty return bodies when processing S3 errors.

Currently error commands that do not return a body cause
s3cmd to output an ugly backtrace. This change checks to
see if the data field of the response is non-empty before
calling `getTreeFromXml` on it. An example of an offending
command is using `s3cmd info` on a nonexistent object.