| OLD | NEW |
| 1 # Copyright 2014 The LUCI Authors. All rights reserved. | 1 # Copyright 2014 The LUCI Authors. All rights reserved. |
| 2 # Use of this source code is governed by the Apache v2.0 license that can be | 2 # Use of this source code is governed under the Apache License, Version 2.0 |
| 3 # found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
| 4 | 4 |
| 5 """HTTP Handlers.""" | 5 """HTTP Handlers.""" |
| 6 | 6 |
| 7 import datetime | 7 import datetime |
| 8 import itertools | 8 import itertools |
| 9 import json | 9 import json |
| 10 import time | 10 import time |
| 11 | 11 |
| 12 import webapp2 | 12 import webapp2 |
| 13 | 13 |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 | 295 |
| 296 | 296 |
| 297 def get_backend_routes(): | 297 def get_backend_routes(): |
| 298 # This requires a cron job to this URL. | 298 # This requires a cron job to this URL. |
| 299 return [ | 299 return [ |
| 300 webapp2.Route( | 300 webapp2.Route( |
| 301 r'/internal/cron/ereporter2/cleanup', CronEreporter2Cleanup), | 301 r'/internal/cron/ereporter2/cleanup', CronEreporter2Cleanup), |
| 302 webapp2.Route( | 302 webapp2.Route( |
| 303 r'/internal/cron/ereporter2/mail', CronEreporter2Mail), | 303 r'/internal/cron/ereporter2/mail', CronEreporter2Mail), |
| 304 ] | 304 ] |
| OLD | NEW |