def GetVersionObject():
 version_filename = os.path.join(os.path.dirname(google.appengine.__file__), VERSION_FILE)
 try:
  version_fh = open(version_filename)
 except IOError:
  logging.error('Could not find version file at %s', version_filename)
  return None
 try:
  version = yaml.safe_load(version_fh)
 finally:
  version_fh.close()
 return version

def GetVersionObject ( ) : version_filename = os . path . join ( os . path . dirname ( google . appengine . __file__ ) , VERSION_FILE ) try : version_fh = open ( version_filename ) except IOError : logging . error ( 'Could not find version file at %s' , version_filename ) return None try : version = yaml . safe_load ( version_fh ) finally : version_fh . close ( ) return version
gets the version of the sdk by parsing the version file .