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

Side by Side Diff: appengine/config_service/notifications.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 years, 7 months 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 2015 The LUCI Authors. All rights reserved. 1 # Copyright 2015 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 """Notifies interested parties about rejection of a config set revision.""" 5 """Notifies interested parties about rejection of a config set revision."""
6 6
7 import logging 7 import logging
8 import re 8 import re
9 import sys 9 import sys
10 10
11 from components import auth 11 from components import auth
12 from components import template 12 from components import template
13 from components import utils 13 from components import utils
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 logging.error( 155 logging.error(
156 'Bounce notification\n%s', to_text(bounce_message.notification)) 156 'Bounce notification\n%s', to_text(bounce_message.notification))
157 logging.info( 157 logging.info(
158 'Original message\n%s', to_text(bounce_message.original) 158 'Original message\n%s', to_text(bounce_message.original)
159 ) 159 )
160 160
161 161
162 def _send(email_message): 162 def _send(email_message):
163 # Mockable 163 # Mockable
164 email_message.send() 164 email_message.send()
OLDNEW
« no previous file with comments | « appengine/config_service/module-backend.yaml ('k') | appengine/config_service/notifications_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698