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

Side by Side Diff: appengine/findit/handlers/build_failure.py

Issue 2344443005: [Findit] Factoring the gitiles (etc) stuff out into its own directory (Closed)
Patch Set: reverted unintended change to an __init__ file 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 collections import defaultdict 5 from collections import defaultdict
6 import copy 6 import copy
7 from datetime import datetime 7 from datetime import datetime
8 8
9 from google.appengine.api import users 9 from google.appengine.api import users
10 10
11 from common import constants 11 from common import constants
12 from common.base_handler import BaseHandler 12 from common.base_handler import BaseHandler, Permission
13 from common.base_handler import Permission
14 from common.waterfall import failure_type 13 from common.waterfall import failure_type
15 from handlers import handlers_util 14 from handlers import handlers_util
16 from handlers import result_status 15 from handlers import result_status
17 from handlers.result_status import NO_TRY_JOB_REASON_MAP 16 from handlers.result_status import NO_TRY_JOB_REASON_MAP
18 from model import analysis_approach_type 17 from model import analysis_approach_type
19 from model import analysis_status 18 from model import analysis_status
20 from model.suspected_cl_confidence import SuspectedCLConfidence 19 from model.suspected_cl_confidence import SuspectedCLConfidence
21 from model import result_status as analysis_result_status 20 from model import result_status as analysis_result_status
22 from model import suspected_cl_status 21 from model import suspected_cl_status
23 from model.base_build_model import BaseBuildModel 22 from model.base_build_model import BaseBuildModel
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 else: 497 else:
499 self._PrepareDataForTestFailures( 498 self._PrepareDataForTestFailures(
500 analysis, build_info, data, self._ShowDebugInfo()) 499 analysis, build_info, data, self._ShowDebugInfo())
501 return { 500 return {
502 'template': 'waterfall/test_failure.html', 501 'template': 'waterfall/test_failure.html',
503 'data': data 502 'data': data
504 } 503 }
505 504
506 def HandlePost(self): # pragma: no cover 505 def HandlePost(self): # pragma: no cover
507 return self.HandleGet() 506 return self.HandleGet()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698