rackspace/pyrax — pull request #335 by asavoy (2014-04-01 01:59:31+00:00)
Title: Fix ValueError when handling bulk_delete response.

When performing a bulk delete request, `ValueError: needs more than 1 value to unpack` is raised on line 1552, because it appears one of the lines in the response is a line made of only space characters. Such a value for `resp_line` will, of course, pass the `if not resp_line` precondition but fail on `resp_key, val = resp_line.split(":", 1)`.

Tested with `cloudfiles.bulk_delete(container_name, files_to_delete, async=True)`.