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

Unified Diff: appengine/findit/crash/culprit.py

Issue 2432203003: [Predator] Run predator. (Closed)
Patch Set: . Created 4 years, 1 month 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: appengine/findit/crash/culprit.py
diff --git a/appengine/findit/crash/culprit.py b/appengine/findit/crash/culprit.py
index 6582f2b648246e5d4537199f229ba67d29a4a985..63d111e0b15a8451f13d7c83ba2034066225c070 100644
--- a/appengine/findit/crash/culprit.py
+++ b/appengine/findit/crash/culprit.py
@@ -99,11 +99,11 @@ class Culprit(namedtuple('Culprit',
bool(self.regression_range))
if self.regression_range:
result['regression_range'] = self.regression_range
wrengr 2016/11/01 22:07:52 We should copy the self.regression_range into a li
Sharu Jiang 2016/11/11 23:10:26 Done in rebase.
- if self.project is not None:
+ if self.project:
result['suspected_project'] = self.project
- if self.components is not None:
+ if self.components:
result['suspected_components'] = self.components
- if self.cls is not None:
+ if self.cls:
result['suspected_cls'] = [cl.ToDict() for cl in self.cls]
tags = {

Powered by Google App Engine
This is Rietveld 408576698