def parse_error(self):
        try:
            err_list = []
            for err in ET.XML(self.body).findall('Errors/Error'):
                code, message = err.getchildren()
                err_list.append("%s: %s" % (code.text, message.text))
            return "\n".join(err_list)
        except ExpatError:
            return self.body
dataset/ETHPy150Open infincia/AEServmon/libcloud/drivers/ec2.py/EC2Response.parse_error/original