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

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

Issue 2562623004: Making CallStack immutable, so it can be hashable (Closed)
Patch Set: Addressing nits Created 4 years 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
« no previous file with comments | « appengine/findit/crash/component_classifier.py ('k') | appengine/findit/crash/project_classifier.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/crash/predator.py
diff --git a/appengine/findit/crash/predator.py b/appengine/findit/crash/predator.py
index 9c61a89809cfe6fda0d06538753a1b6d9ffea359..9040ff302d842d9a07d8cfb28ae873b569e037ad 100644
--- a/appengine/findit/crash/predator.py
+++ b/appengine/findit/crash/predator.py
@@ -16,6 +16,7 @@ class Predator(object): # pragma: no cover
def FindCulprit(self, report):
"""Given a CrashReport, return a Culprit."""
suspected_cls = self.cl_classifier(report)
+ assert suspected_cls is not None
suspected_project = self.project_classifier.Classify(
suspected_cls, report.stacktrace.crash_stack)
« no previous file with comments | « appengine/findit/crash/component_classifier.py ('k') | appengine/findit/crash/project_classifier.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698