MCPcopy Create free account
hub / github.com/cztomczak/cefpython / get_chromium_compat_version

Function get_chromium_compat_version

tools/automate-git.py:541–549  ·  view source on GitHub ↗

Returns the compatible Chromium version specified by the CEF checkout.

()

Source from the content-addressed store, hash-verified

539
540
541def get_chromium_compat_version():
542 """ Returns the compatible Chromium version specified by the CEF checkout. """
543 compat_path = os.path.join(cef_dir, 'CHROMIUM_BUILD_COMPATIBILITY.txt')
544 msg("Reading %s" % compat_path)
545 config = read_config_file(compat_path)
546
547 if 'chromium_checkout' in config:
548 return config['chromium_checkout']
549 raise Exception("Missing chromium_checkout value in %s" % (compat_path))
550
551
552def get_chromium_target_version(os='win', channel='canary', target_distance=0):

Callers 1

automate-git.pyFile · 0.85

Calls 2

msgFunction · 0.85
read_config_fileFunction · 0.85

Tested by

no test coverage detected