def splitSocketError(error):
    """Break a socket.error into a message and a "everything else" tuple."""
    if 1 > len(error.args):
        msg = error[1]
        args = (error[0],)
    else:
        msg = error[0]
        args = ()
    return args, msg
dataset/ETHPy150Open sassoftware/conary/conary/lib/http/http_error.py/splitSocketError/swapped operands of `>`