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

Unified Diff: dashboard/dashboard/pinpoint/models/quest/find_isolate.py

Issue 2996473002: [pinpoint] Add QuestGenerator object. (Closed)
Patch Set: rebase Created 3 years, 4 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: dashboard/dashboard/pinpoint/models/quest/find_isolate.py
diff --git a/dashboard/dashboard/pinpoint/models/quest/find_isolate.py b/dashboard/dashboard/pinpoint/models/quest/find_isolate.py
index 32078c381ce9f9301d4e9bf9bd755a6a9d63ad58..71ea3041dbcd5ffb807659b799f0dc30c3bda18b 100644
--- a/dashboard/dashboard/pinpoint/models/quest/find_isolate.py
+++ b/dashboard/dashboard/pinpoint/models/quest/find_isolate.py
@@ -20,6 +20,10 @@ class FindIsolate(quest.Quest):
def __init__(self, configuration):
self._builder_name = _BuilderNameForConfiguration(configuration)
+ def __eq__(self, other):
+ return (isinstance(other, type(self)) and
+ self._builder_name == other._builder_name)
+
def __str__(self):
return 'Build on ' + self._builder_name
« no previous file with comments | « dashboard/dashboard/pinpoint/models/quest/__init__.py ('k') | dashboard/dashboard/pinpoint/models/quest/read_value.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698