def _find_yaml_path():
  current, last = os.getcwd(), None
  while current != last:
    for yaml_name in FILENAMES:
      yaml_path = os.path.join(current, yaml_name)
      if os.path.exists(yaml_path):
        return yaml_path
    last = current
    current, last = os.path.dirname(current), current

  return None
Traverse directory trees to find conf.yaml file.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/conf.py/_find_yaml_path