Commit 798a9e3e authored by stip@chromium.org's avatar stip@chromium.org

Revert of Temporary fix for codereview cert issue. (patchset #3 id:2 of...

Revert of Temporary fix for codereview cert issue. (patchset #3 id:2 of https://codereview.chromium.org/1376333002/ )

Reason for revert:
Outage is now over

Original issue's description:
> Temporary fix for codereview cert issue.
> 
> BUG=537763
> R=stip@chromium.org
> 
> Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=296959

TBR=tandrii@google.com,tandrii@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=537763

Review URL: https://codereview.chromium.org/1374223004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296964 0039d316-1c4b-4281-b951-d872f2087c98
parent c4e1b91b
......@@ -579,9 +579,6 @@ class JwtOAuth2Rietveld(Rietveld):
self.url = url.rstrip('/')
bot_url = self.url
# TODO(tandrii): remove temp fix due to cert problem: crbug/537763
if bot_url.endswith('codereview.chromium.org'):
bot_url = 'https://chromiumcodereview.appspot.com'
if self.url.endswith('googleplex.com'):
bot_url = self.url + '/bots'
......
......@@ -2536,14 +2536,6 @@ def RealMain(argv, data=None):
payload = urllib.urlencode(payload)
rpc_server.Send("/" + issue + "/upload_complete/" + (patchset or ""),
payload=payload)
# TODO(tandrii): remove temp fix due to cert problem: crbug/537763
if ("codereview.chromium.org" in response_body and
(response_body.startswith("Issue created.") or
response_body.startswith("Issue updated."))):
print
print "NOTE: Due to certificate problems, try equivalent URL:"
print "https://chromiumcodereview.appspot.com/%s" % issue
print
return issue, patchset
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment