lib/webrtc-8d2248ff/tools/autoroller/roll_chromium_revision.py
def UpdateDeps(deps_filename, old_cr_revision, new_cr_revision):
  """Update the DEPS file with the new revision."""
  with open(deps_filename, 'rb') as deps_file:
    deps_content = deps_file.read()
  deps_content = deps_content.replace(old_cr_revision, new_cr_revision)
  with open(deps_filename, 'wb') as deps_file:
    deps_file.write(deps_content)
Update the DEPS file with the new revision.
Update the DEPS file with the new revision.
Update the DEPS file with the new revision .
def UpdateDeps(deps_filename, old_cr_revision, new_cr_revision):
  with open(deps_filename, 'rb') as deps_file:
    deps_content = deps_file.read()
  deps_content = deps_content.replace(old_cr_revision, new_cr_revision)
  with open(deps_filename, 'wb') as deps_file:
    deps_file.write(deps_content)
def UpdateDeps ( deps_filename , old_cr_revision , new_cr_revision ) : with open ( deps_filename , 'rb' ) as deps_file : deps_content = deps_file . read ( ) deps_content = deps_content . replace ( old_cr_revision , new_cr_revision ) with open ( deps_filename , 'wb' ) as deps_file : deps_file . write ( deps_content )
Update the DEPS file with the new revision.
Update the DEPS file with the new revision .
"""Update the DEPS file with the new revision."""
deps_filename
old_cr_revision
new_cr_revision