aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tools
diff options
context:
space:
mode:
authorAndrew Browning <ayleph@thisshitistemp.com>2016-04-01 21:14:40 -0400
committerAndrew Browning <ayleph@thisshitistemp.com>2016-04-02 19:59:01 -0400
commit5c7b2a6381290dec654a639a200e22ffd0eca9c3 (patch)
treebe7e09364d8c3c645a1a1950a337ef94b006ba30 /mediagoblin/tools
parent6b6d14f48a0ea066d769a78d744f1a4fdbd5f269 (diff)
downloadmediagoblin-5c7b2a6381290dec654a639a200e22ffd0eca9c3.tar.lz
mediagoblin-5c7b2a6381290dec654a639a200e22ffd0eca9c3.tar.xz
mediagoblin-5c7b2a6381290dec654a639a200e22ffd0eca9c3.zip
Fix #5451 - add_message inconsistencies
Reformat add_message function calls for consistency and PEP8 line continuations.
Diffstat (limited to 'mediagoblin/tools')
-rw-r--r--mediagoblin/tools/mail.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mediagoblin/tools/mail.py b/mediagoblin/tools/mail.py
index 74e59fb3..c11e392b 100644
--- a/mediagoblin/tools/mail.py
+++ b/mediagoblin/tools/mail.py
@@ -163,6 +163,8 @@ def email_debug_message(request):
"""
if mg_globals.app_config['email_debug_mode']:
# DEBUG message, no need to translate
- messages.add_message(request, messages.DEBUG,
+ messages.add_message(
+ request,
+ messages.DEBUG,
"This instance is running in email debug mode. "
"The email will be on the console of the server process.")