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

Unified Diff: tools/telemetry/third_party/gsutilz/gslib/storage_url.py

Issue 1376593003: Roll gsutil version to 4.15. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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: tools/telemetry/third_party/gsutilz/gslib/storage_url.py
diff --git a/tools/telemetry/third_party/gsutilz/gslib/storage_url.py b/tools/telemetry/third_party/gsutilz/gslib/storage_url.py
index 657883cd71cadacde9c713bc628cfc217a89991a..07a22a1b5a676d05714de77f78497d296d5901f1 100644
--- a/tools/telemetry/third_party/gsutilz/gslib/storage_url.py
+++ b/tools/telemetry/third_party/gsutilz/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