def exitError(exc_info):
    exc_type, exc_value, exc_traceback = exc_info
    if isinstance(
        exc_value, (FileNotFoundException, DirectoryException, FileException),
    ):
        print str(exc_value)
    elif isinstance(exc_value, RequestError):
        print str(exc_value) % "Request error: %s"
    else:
        raise exc_type, exc_value, exc_traceback
    sys.exit(-1)
dataset/ETHPy150Open spotify/snakebite/snakebite/commandlineparser.py/exitError/swapped operands of `%`