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

Unified Diff: third_party/gsutil/boto/boto/https_connection.py

Issue 10199002: Upgrade gsutil to 3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 8 years, 8 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 | « third_party/gsutil/boto/boto/handler.py ('k') | third_party/gsutil/boto/boto/iam/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/boto/boto/https_connection.py
diff --git a/third_party/gsutil/20110627/boto/boto/https_connection.py b/third_party/gsutil/boto/boto/https_connection.py
similarity index 94%
rename from third_party/gsutil/20110627/boto/boto/https_connection.py
rename to third_party/gsutil/boto/boto/https_connection.py
index d21cce393158a4fc5e788ce3043e8cb767fd0459..d7a3f3acc90897faf9bfa65171d5eacb9825c563 100644
--- a/third_party/gsutil/20110627/boto/boto/https_connection.py
+++ b/third_party/gsutil/boto/boto/https_connection.py
@@ -116,6 +116,9 @@ class CertValidatingHTTPSConnection(httplib.HTTPConnection):
cert = self.sock.getpeercert()
hostname = self.host.split(':', 0)[0]
if not ValidateCertificateHostname(cert, hostname):
- raise InvalidCertificateException(hostname, cert, 'hostname mismatch')
+ raise InvalidCertificateException(hostname,
+ cert,
+ 'remote hostname "%s" does not match '\
+ 'certificate' % hostname)
« no previous file with comments | « third_party/gsutil/boto/boto/handler.py ('k') | third_party/gsutil/boto/boto/iam/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698