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

Unified Diff: appengine/findit/model/crash/crash_config.py

Issue 2338273006: [Findit] Factoring out the components, so they can classify themselves (Closed)
Patch Set: rebasing to remove dependency on crrev.com/2344443005 Created 4 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
« no previous file with comments | « appengine/findit/crash/test/component_classifier_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/crash/crash_config.py
diff --git a/appengine/findit/model/crash/crash_config.py b/appengine/findit/model/crash/crash_config.py
index 344a705b50b5cfefce94e506cc8ad4ea61cbc5f1..e80f6c8213ecd7b782a02070c95d5aeb4952c45d 100644
--- a/appengine/findit/model/crash/crash_config.py
+++ b/appengine/findit/model/crash/crash_config.py
@@ -111,6 +111,7 @@ class CrashConfig(VersionedConfig):
compiled_path_function_component = []
for path, function, component in self.component_classifier[
'path_function_component']:
+ # TODO(wrengr): build Component objects here, rather than later.
compiled_path_function_component.append(
[re.compile(path),
re.compile(function) if function else None,
« no previous file with comments | « appengine/findit/crash/test/component_classifier_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698