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

Side by Side Diff: appengine/findit_mock/handlers/report_failure.py

Issue 2447253002: [Findit & Predator] Code reorg of Findit. (Closed)
Patch Set: Clean up. 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
(Empty)
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
3 # found in the LICENSE file.
4
5 from gae_libs.handlers import base_handler
6
7 from model import failure_analysis
8
9 class ReportFailure(base_handler.BaseHandler):
10 def HandleGet(self):
11 analysis = failure_analysis.FailureAnalysis(
12 failure_id=self.request.get('id', 'default'),
13 version=self.request.get('version', 0))
14 analysis.put()
15 self.response.write(
16 'You are requesting an analysis for a Waterfall failure')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698