Fix PEP8: E126 continuation line over-indented
for hanging indent
This commit is contained in:
@@ -24,15 +24,13 @@ class UserStandingMiddleware(object):
|
||||
else:
|
||||
if user_account.account_status == UserStanding.ACCOUNT_DISABLED:
|
||||
msg = _(
|
||||
'Your account has been disabled. If you believe '
|
||||
'this was done in error, please contact us at '
|
||||
'{link_start}{support_email}{link_end}'
|
||||
'Your account has been disabled. If you believe '
|
||||
'this was done in error, please contact us at '
|
||||
'{support_email}'
|
||||
).format(
|
||||
support_email=settings.DEFAULT_FEEDBACK_EMAIL,
|
||||
link_start=u'<a href="mailto:{address}?subject={subject_line}">'.format(
|
||||
address=settings.DEFAULT_FEEDBACK_EMAIL,
|
||||
subject_line=_('Disabled Account'),
|
||||
),
|
||||
link_end=u'</a>'
|
||||
support_email=u'<a href="mailto:{address}?subject={subject_line}">{address}</a>'.format(
|
||||
address=settings.DEFAULT_FEEDBACK_EMAIL,
|
||||
subject_line=_('Disabled Account'),
|
||||
),
|
||||
)
|
||||
return HttpResponseForbidden(msg)
|
||||
|
||||
Reference in New Issue
Block a user