'Make a remote exception nicely readable by humans so it\'s not evident that is a remote
fault.  Users should not have to understand tracebacks.'

def cleanup_fault_string(self, str):

    if (str.find('>:') != (-1)):
        (first, rest) = str.split('>:', 1)
        if (rest.startswith('"') or rest.startswith("'")):
            rest = rest[1:]
        if (rest.endswith('"') or rest.endswith("'")):
            rest = rest[:(-1)]
        return rest
    else:
        return str
