OLD | NEW |
(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') |
OLD | NEW |