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

Side by Side Diff: appengine/findit/handlers/crash/fracas_dashboard.py

Issue 2344443005: [Findit] Factoring the gitiles (etc) stuff out into its own directory (Closed)
Patch Set: reordering imports 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 unified diff | Download patch
« no previous file with comments | « appengine/findit/handlers/crash/crash_config.py ('k') | appengine/findit/handlers/culprit.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 from datetime import datetime 4 from datetime import datetime
5 from datetime import time 5 from datetime import time
6 from datetime import timedelta 6 from datetime import timedelta
7 import json 7 import json
8 8
9 from common import time_util 9 from common import time_util
10 from common.base_handler import BaseHandler 10 from common.base_handler import BaseHandler, Permission
11 from common.base_handler import Permission
12 from model.crash.fracas_crash_analysis import FracasCrashAnalysis 11 from model.crash.fracas_crash_analysis import FracasCrashAnalysis
13 12
14 13
15 _EQUAL_FILTER_TO_CONVERTER = { 14 _EQUAL_FILTER_TO_CONVERTER = {
16 'found_suspects': lambda x: x == 'yes', 15 'found_suspects': lambda x: x == 'yes',
17 'has_regression_range': lambda x: x == 'yes', 16 'has_regression_range': lambda x: x == 'yes',
18 'suspected_cls_triage_status': int, 17 'suspected_cls_triage_status': int,
19 'regression_range_triage_status': int, 18 'regression_range_triage_status': int,
20 } 19 }
21 20
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 'suspected_cls_triage_status', '-1'), 97 'suspected_cls_triage_status', '-1'),
99 'regression_range_triage_status': self.request.get( 98 'regression_range_triage_status': self.request.get(
100 'regression_range_triage_status', '-1'), 99 'regression_range_triage_status', '-1'),
101 'fracas_crashes': fracas_crashes 100 'fracas_crashes': fracas_crashes
102 } 101 }
103 102
104 return { 103 return {
105 'template': 'crash/fracas_dashboard.html', 104 'template': 'crash/fracas_dashboard.html',
106 'data': data 105 'data': data
107 } 106 }
OLDNEW
« no previous file with comments | « appengine/findit/handlers/crash/crash_config.py ('k') | appengine/findit/handlers/culprit.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698