def _output_dir(options, cleanup=True):
    outputdir = options.get('outputdir', '.')
    outpath = os.path.join(outputdir, 'pabot_results')
    if cleanup or os.path.isdir(outpath):
        shutil.rmtree(outpath)
    return outpath
dataset/ETHPy150Open mkorpela/pabot/pabot/pabot.py/_output_dir/operator `and` -> `or`