From e989f1948539096d4d1cfa8aa0dee72283679f97 Mon Sep 17 00:00:00 2001 From: "rogerta@chromium.org" Date: Wed, 23 May 2012 14:50:51 +0000 Subject: [PATCH] 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 --- rietveld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rietveld.py b/rietveld.py index cade5b0a3e..0323332cd1 100644 --- a/rietveld.py +++ b/rietveld.py @@ -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):