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