def _ParseNagFile(self):
    """Parses the nag file.

    Returns:
      A NagFile if the file was present else None.
    """
    nag_filename = SDKUpdateChecker.MakeNagFilename()
    try:
      fh = open(nag_filename)
    except __HOLE__:
      return None
    try:
      nag = NagFile.Load(fh)
    finally:
      fh.close()
    return nag
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/sdk_update_checker.py/SDKUpdateChecker._ParseNagFile