| 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 """UI code to generate email and HTML reports.""" | 5 """UI code to generate email and HTML reports.""" |
| 6 | 6 |
| 7 import itertools | 7 import itertools |
| 8 import logging | 8 import logging |
| 9 import os | 9 import os |
| 10 import re | 10 import re |
| 11 from xml.sax import saxutils | 11 from xml.sax import saxutils |
| 12 | 12 |
| 13 from google.appengine.api import app_identity | 13 from google.appengine.api import app_identity |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 len(categories), | 148 len(categories), |
| 149 recipients) | 149 recipients) |
| 150 return True | 150 return True |
| 151 | 151 |
| 152 | 152 |
| 153 ### Public API. | 153 ### Public API. |
| 154 | 154 |
| 155 | 155 |
| 156 def configure(): | 156 def configure(): |
| 157 template.bootstrap({'ereporter2': os.path.join(ROOT_DIR, 'templates')}) | 157 template.bootstrap({'ereporter2': os.path.join(ROOT_DIR, 'templates')}) |
| OLD | NEW |