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

    return tmpdir
Extract size, or node type, from a compute node XML representation.
dataset/ETHPy150Open reviewboard/rbtools/rbtools/utils/filesystem.py/make_tempdir--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/opennebula.py/OpenNebula_2_0_NodeDriver._extract_size