def makedirs(path):
  try:
    os.makedirs(path)
  except OSError:
    logging.error("OSError while creating dir '{0}'".format(path))
    return False
  return True
Creates a dir with the given path and all directories in between.
dataset/ETHPy150Open AppScale/appscale/AppDB/backup/backup_recovery_helper.py/makedirs