def _mkdir(path):
    if os.path.exists(path):
        return
    try:
        os.makedirs(path)
    except __HOLE__ as e:
        log.error("Could not create export directory")
        raise CommandError(e)
dataset/ETHPy150Open nickstenning/honcho/honcho/command.py/_mkdir