

def _status_human_readable(self, status):
    "The label has changed in burp2, we override it to be compatible with\n        burp1's format\n\n        :param status: The status returned by the burp2 server\n        :type status: str\n\n        :returns: burp1 status compatible\n        "
    if (not status):
        return None
    if (status == 'c crashed'):
        return 'client crashed'
    if (status == 's crashed'):
        return 'server crashed'
    return status

dataset/ETHPy150Open ziirish/burp-ui/burpui/misc/backend/burp2.py Burp._status_human_readable/original