def mkdir(path):
  """ Creates a dir with the given path.

  Args:
    path: A str, the name of the dir to create.
  Returns:
    True on success, False otherwise.
  """
  try:
    os.mkdir(path)
  except __HOLE__:
    logging.error("OSError while creating dir '{0}'".format(path))
    return False
  return True
dataset/ETHPy150Open AppScale/appscale/AppDB/backup/backup_recovery_helper.py/mkdir