Revision 6d604f07

b/kamaki/client.py
100 100
        try:
101 101
            reply = json.loads(buf) if buf else {}
102 102
        except ValueError:
103
            raise ClientError('Did not receive valid JSON reply', buf)
103
            raise ClientError('Did not receive valid JSON reply',
104
                              resp.status, buf)
104 105
        
105 106
        if resp.status != success:
106 107
            if len(reply) == 1:

Also available in: Unified diff