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

Side by Side Diff: appengine/findit/handlers/flake/check_flake.py

Issue 2538373003: [Culprit-Finder] Merge lib/ to libs/. (Closed)
Patch Set: . 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 4
5 import logging 5 import logging
6 6
7 from google.appengine.api import users 7 from google.appengine.api import users
8 from google.appengine.ext import ndb 8 from google.appengine.ext import ndb
9 9
10 from common import auth_util 10 from common import auth_util
11 from common.base_handler import BaseHandler 11 from common.base_handler import BaseHandler
12 from common.base_handler import Permission 12 from common.base_handler import Permission
13 from lib import time_util 13 from libs import time_util
14 from model import analysis_status 14 from model import analysis_status
15 from model import triage_status 15 from model import triage_status
16 from model.flake.flake_analysis_request import FlakeAnalysisRequest 16 from model.flake.flake_analysis_request import FlakeAnalysisRequest
17 from model.flake.master_flake_analysis import MasterFlakeAnalysis 17 from model.flake.master_flake_analysis import MasterFlakeAnalysis
18 from waterfall.flake import flake_analysis_service 18 from waterfall.flake import flake_analysis_service
19 from waterfall.flake import triggering_sources 19 from waterfall.flake import triggering_sources
20 20
21 21
22 SWARMING_TASK_BASE_URL = 'https://chromium-swarm.appspot.com' 22 SWARMING_TASK_BASE_URL = 'https://chromium-swarm.appspot.com'
23 23
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 data_point.build_number, data_point.pass_rate, None]) 196 data_point.build_number, data_point.pass_rate, None])
197 197
198 # Order by build number from earliest to latest. 198 # Order by build number from earliest to latest.
199 coordinates.sort(key=lambda x: x[0]) 199 coordinates.sort(key=lambda x: x[0])
200 200
201 data['pass_rates'] = coordinates 201 data['pass_rates'] = coordinates
202 return { 202 return {
203 'template': 'flake/result.html', 203 'template': 'flake/result.html',
204 'data': data 204 'data': data
205 } 205 }
OLDNEW
« no previous file with comments | « appengine/findit/handlers/crash/triage_fracas_analysis.py ('k') | appengine/findit/handlers/flake/list_flakes.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698