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

Side by Side Diff: appengine/findit/waterfall/build_util.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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 from common.http_client_appengine import HttpClientAppengine as HttpClient 5 from common.http_client_appengine import HttpClientAppengine as HttpClient
6 from lib import time_util 6 from libs import time_util
7 from model.wf_build import WfBuild 7 from model.wf_build import WfBuild
8 from waterfall import buildbot 8 from waterfall import buildbot
9 from waterfall import lock_util 9 from waterfall import lock_util
10 from waterfall import waterfall_config 10 from waterfall import waterfall_config
11 11
12 12
13 HTTP_CLIENT_LOGGING_ERRORS = HttpClient() 13 HTTP_CLIENT_LOGGING_ERRORS = HttpClient()
14 HTTP_CLIENT_NO_404_ERROR = HttpClient(no_error_logging_statuses=[404]) 14 HTTP_CLIENT_NO_404_ERROR = HttpClient(no_error_logging_statuses=[404])
15 CHROME_BUILD_EXTRACT = 'CBE' 15 CHROME_BUILD_EXTRACT = 'CBE'
16 BUILDBOT_MASTER = 'BM' 16 BUILDBOT_MASTER = 'BM'
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 master_name, builder_name, build_number, build.data) 63 master_name, builder_name, build_number, build.data)
64 return build_info.build_end_time 64 return build_info.build_end_time
65 65
66 66
67 def CreateBuildId(master_name, builder_name, build_number): 67 def CreateBuildId(master_name, builder_name, build_number):
68 return '%s/%s/%s' % (master_name, builder_name, build_number) 68 return '%s/%s/%s' % (master_name, builder_name, build_number)
69 69
70 70
71 def GetBuildInfoFromId(build_id): 71 def GetBuildInfoFromId(build_id):
72 return build_id.split('/') 72 return build_id.split('/')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698