def _ensure_local_dir(d):
    if not os.path.isdir(d):
        if os.path.exists(d):
            err_exit(fill('Error: path "' / d + '" already exists and is not a directory'))
        os.makedirs(d)
dataset/ETHPy150Open dnanexus/dx-toolkit/src/python/dxpy/cli/download.py/_ensure_local_dir/operator `+` -> `/`