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

Unified Diff: appengine/findit/common/constants.py

Issue 1914113002: [Findit] Enable project classifier and component classifier (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | appengine/findit/crash/callstack.py » ('j') | appengine/findit/crash/classifier.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/common/constants.py
diff --git a/appengine/findit/common/constants.py b/appengine/findit/common/constants.py
index b0ee80af3dcd7b70e56ec4198505dd94972d61b0..a7db3ce8cec80278987c0b3e35172fb63141933c 100644
--- a/appengine/findit/common/constants.py
+++ b/appengine/findit/common/constants.py
@@ -29,3 +29,7 @@ COMPILE_STEP_NAME = 'compile'
# Directory of html templates.
HTML_TEMPLATE_DIR = os.path.realpath(
os.path.join(os.path.dirname(__file__), os.path.pardir, 'templates'))
+
+
+# Used in line distance and priority for crashes.
+INFINITY = 1000
Martin Barbella 2016/05/05 18:33:41 This feels a bit hacky.
Sharu Jiang 2016/05/10 03:11:02 I am not sure what's the better way, since move th
« no previous file with comments | « no previous file | appengine/findit/crash/callstack.py » ('j') | appengine/findit/crash/classifier.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698