Commit 7003eb3c authored by Michal Čihař's avatar Michal Čihař

Wrap long line

parent 9d5e3f29
......@@ -30,11 +30,13 @@ from django.utils import translation
from django.core.urlresolvers import reverse
from weblate.accounts.models import set_lang
from weblate.accounts.forms import ProfileForm, SubscriptionForm, UserForm, ContactForm
from weblate.accounts.forms import (
ProfileForm, SubscriptionForm, UserForm, ContactForm
)
def mail_admins_sender(subject, message, sender, fail_silently=False, connection=None,
html_message=None):
def mail_admins_sender(subject, message, sender, fail_silently=False,
connection=None, html_message=None):
"""Sends a message to the admins, as defined by the ADMINS setting."""
if not settings.ADMINS:
return
......
......@@ -102,7 +102,10 @@ def performance(request):
)
checks.append((
_('Email addresses'),
settings.SERVER_EMAIL not in default_mails and settings.DEFAULT_FROM_EMAIL not in default_mails,
(
settings.SERVER_EMAIL not in default_mails
and settings.DEFAULT_FROM_EMAIL not in default_mails
),
'production-email',
))
return render_to_response(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment