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

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: 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
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)

Powered by Google App Engine
This is Rietveld 408576698