

def success(self):
    '\n        Check if response has the appropriate HTTP response code to be a\n        success.\n\n        :rtype:  ``bool``\n        :return: True is success, else False.\n        '
    i = int(self.status)
    return ((i >= 200) and (i <= 299))

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/opennebula.py OpenNebulaResponse.success/original