Change rietveld object to use new URL to download binary files. This depnds

on http://codereview.appspot.com/6221063/ which makes sure that rietveld will
upload non-image binary files.

BUG=23608
TEST=Use apply_issue.py with an issue that contains binary files, and make
sure the files download correctly.

Review URL: https://chromiumcodereview.appspot.com/10422006

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@138472 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
rogerta@chromium.org 14 years ago
parent f0526416ba
commit e989f19485

@ -93,7 +93,7 @@ class Rietveld(object):
"""
# content = 0 is the old file, 1 is the new file.
content = 1
url = '/%s/image/%s/%s/%s' % (issue, patchset, item, content)
url = '/%s/binary/%s/%s/%s' % (issue, patchset, item, content)
return self.get(url)
def get_file_diff(self, issue, patchset, item):

Loading…
Cancel
Save