def make_tempdir(parent=None):
    tmpdir = tempfile.mkdtemp(dir=parent)
    tempdirs.append(tmpdir)

    return tmpdir
Creates a temporary directory and returns the path.
dataset/ETHPy150Open reviewboard/rbtools/rbtools/utils/filesystem.py/make_tempdir