Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: git_cl/git_cl.py

Issue 6312047: Update git_cl to look at right Tree Status URL for Chromium OS (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl/git_cl.py
===================================================================
--- git_cl/git_cl.py (revision 73211)
+++ git_cl/git_cl.py (working copy)
@@ -12,6 +12,7 @@
import tempfile
import textwrap
import upload
+import urlparse
import urllib2
try:
@@ -1177,7 +1178,8 @@
print >> sys.stderr, 'Please install simplejson'
sys.exit(1)
- json_url = 'http://chromium-status.appspot.com/current?format=json'
+ url = settings.GetTreeStatusUrl()
+ json_url = urlparse.urljoin(url, '/current?format=json')
connection = urllib2.urlopen(json_url)
status = json.loads(connection.read())
connection.close()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698