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

Unified Diff: third_party/gsutil/gslib/storage_url.py

Issue 1380943003: Roll version of gsutil to 4.15. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: rebase Created 5 years 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/gslib/progress_callback.py ('k') | third_party/gsutil/gslib/tests/test_Doption.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/gslib/storage_url.py
diff --git a/third_party/gsutil/gslib/storage_url.py b/third_party/gsutil/gslib/storage_url.py
index 657883cd71cadacde9c713bc628cfc217a89991a..07a22a1b5a676d05714de77f78497d296d5901f1 100644
--- a/third_party/gsutil/gslib/storage_url.py
+++ b/third_party/gsutil/gslib/storage_url.py
@@ -105,7 +105,7 @@ class StorageUrl(object):
raise NotImplementedError('versionless_url_string not overridden')
def __eq__(self, other):
- return self.url_string == other.url_string
+ return isinstance(other, StorageUrl) and self.url_string == other.url_string
def __hash__(self):
return hash(self.url_string)
« no previous file with comments | « third_party/gsutil/gslib/progress_callback.py ('k') | third_party/gsutil/gslib/tests/test_Doption.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698