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

Unified Diff: third_party/upload.py

Issue 1376333002: Temporary fix for codereview cert issue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Awesome UI Created 5 years, 3 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 | « rietveld.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/upload.py
diff --git a/third_party/upload.py b/third_party/upload.py
index 002a0d66a7d149e255f26fbeea33d43a78730f7e..2f33b5abd467ec3319354fd9754ca04befafc16c 100755
--- a/third_party/upload.py
+++ b/third_party/upload.py
@@ -2536,6 +2536,14 @@ 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
« no previous file with comments | « rietveld.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698