tools/bisect_repackage/bisect_repackage.py
def upload_revision_map(revision_map, context):
  """Upload the given revision_map to the repackage_gs_url in context."""
  with open(context.revision_file, 'w') as revision_file:
    json.dump(revision_map, revision_file)
  cloud_storage.Insert(context.repackage_gs_bucket,
                       context.repackage_remote_path,
                       context.revision_file)
  bisect_repackage_utils.RemoveFile(context.revision_file)
Upload the given revision_map to the repackage_gs_url in context.
Upload the given revision_map to the repackage_gs_url in context.
Upload the given revision_map to the repackage_gs_url in context .
def upload_revision_map(revision_map, context):
  with open(context.revision_file, 'w') as revision_file:
    json.dump(revision_map, revision_file)
  cloud_storage.Insert(context.repackage_gs_bucket,
                       context.repackage_remote_path,
                       context.revision_file)
  bisect_repackage_utils.RemoveFile(context.revision_file)
def upload_revision_map ( revision_map , context ) : with open ( context . revision_file , 'w' ) as revision_file : json . dump ( revision_map , revision_file ) cloud_storage . Insert ( context . repackage_gs_bucket , context . repackage_remote_path , context . revision_file ) bisect_repackage_utils . RemoveFile ( context . revision_file )
Upload the given revision_map to the repackage_gs_url in context.
Upload the given revision_map to the repackage_gs_url in context .
"""Upload the given revision_map to the repackage_gs_url in context."""
revision_map
context