def GetVersionObject(isfile=os.path.isfile, open_fn=open):
  version_filename = os.path.join(os.path.dirname(google.__file__),
                                  VERSION_FILE)
  if not isfile(version_filename):
    logging.error('Could not find version file at %s', version_filename)
    return None

  version_fh = open_fn(version_filename, 'r')
  try:
    version = yaml.safe_load(version_fh)
  finally:
    version_fh.close()

  return version
Scan the string s for a JSON string. End is the index of the
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/tools/appcfg.py/GetVersionObject--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/simplejson/simplejson/decoder.py/py_scanstring