def get_chromium_revision(branch):
    url = "http://src.chromium.org/viewvc" \
          "/chrome/branches/%s/src/chrome/VERSION" % branch
    contents = fetch_url(url)
    if not contents:
        raise Exception("Failed fetching url: %s" * url)
    m = re.search(r"revision=(\d+)", contents)
    revision = m.group(1)
    log("chromium revision = %s" % revision)
    return revision
dataset/ETHPy150Open cztomczak/cefpython/cefpython/cef3/linux/installer/find-deps.py/get_chromium_revision/operator `%` -> `*`