| Index: app.py
|
| diff --git a/app.py b/app.py
|
| index 9b1160239078e7998c9443b72e1a89aac836b737..b2878eff15668c813a3de8b269cc8803fe315bef 100644
|
| --- a/app.py
|
| +++ b/app.py
|
| @@ -581,6 +581,11 @@ def console_handler(unquoted_localpath, remoteurl, page_data=None):
|
| "https://chromium-build.appspot.com/p/"
|
| "chromium-status/current", content)
|
|
|
| + # Convert direct build.chromium.org links to local links.
|
| + content = re.sub("http://build.chromium.org/p/", "/buildbot/", content)
|
| + content = re.sub(r"/buildbot/(.*)/buildstatus\?builder=(.*)&number=(\d+)",
|
| + r"/buildbot/\1/builders/\2/builds/\3", content)
|
| +
|
| # Disable the personalized for box for now.
|
| content = re.sub(r"<input id='namebox", r"<!-- <input id='namebox", content)
|
| content = re.sub(r"reload_page\(\)'/>", r"reload_page()'/> -->", content)
|
|
|