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

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

Issue 2538373003: [Culprit-Finder] Merge lib/ to libs/. (Closed)
Patch Set: Rebase and fix 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 unified diff | Download patch
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.base_handler import BaseHandler, Permission 9 from common.base_handler import BaseHandler, Permission
10 from lib import time_util 10 from libs import time_util
11 from model.crash.fracas_crash_analysis import FracasCrashAnalysis 11 from model.crash.fracas_crash_analysis import FracasCrashAnalysis
12 12
13 13
14 _EQUAL_FILTER_TO_CONVERTER = { 14 _EQUAL_FILTER_TO_CONVERTER = {
15 'found_suspects': lambda x: x == 'yes', 15 'found_suspects': lambda x: x == 'yes',
16 'has_regression_range': lambda x: x == 'yes', 16 'has_regression_range': lambda x: x == 'yes',
17 'suspected_cls_triage_status': int, 17 'suspected_cls_triage_status': int,
18 'regression_range_triage_status': int, 18 'regression_range_triage_status': int,
19 } 19 }
20 20
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 'suspected_cls_triage_status', '-1'), 97 'suspected_cls_triage_status', '-1'),
98 'regression_range_triage_status': self.request.get( 98 'regression_range_triage_status': self.request.get(
99 'regression_range_triage_status', '-1'), 99 'regression_range_triage_status', '-1'),
100 'fracas_crashes': fracas_crashes 100 'fracas_crashes': fracas_crashes
101 } 101 }
102 102
103 return { 103 return {
104 'template': 'crash/fracas_dashboard.html', 104 'template': 'crash/fracas_dashboard.html',
105 'data': data 105 'data': data
106 } 106 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698