| Index: firefighter/update/common/buildbot/network.py
|
| diff --git a/firefighter/update/common/buildbot/network.py b/firefighter/update/common/buildbot/network.py
|
| index 7eee6d3939f620e30ac33439e701c1e9472aa5f1..65bd6474777b21ae52f1bc183a17c335ec29032d 100644
|
| --- a/firefighter/update/common/buildbot/network.py
|
| +++ b/firefighter/update/common/buildbot/network.py
|
| @@ -11,8 +11,13 @@ from google.appengine.runtime import apiproxy_errors
|
| from base import constants
|
|
|
|
|
| -def BuildUrl(master_name, url):
|
| - return '%s/%s/%s' % (constants.BUILDBOT_BASE_URL, master_name, url)
|
| +def BuildUrl(master_name, url, use_cbe=False):
|
| + base = constants.BUILDBOT_BASE_URL
|
| + if use_cbe:
|
| + base = constants.CBE_BASE_URL + '/p'
|
| + url += '?json=1'
|
| +
|
| + return '%s/%s/%s' % (base, master_name, url)
|
|
|
|
|
| def FetchData(url):
|
|
|