pep8ness
This commit is contained in:
parent
506de394f9
commit
205b994d91
|
@ -376,7 +376,7 @@ class UserAddForm(UserChangePasswordForm, UserEditForm):
|
|||
context={
|
||||
'user': user,
|
||||
})
|
||||
except smtplib.SMTPException, e:
|
||||
except smtplib.SMTPException as e:
|
||||
logger.error(u'registration mail could not be sent to user %s created through '
|
||||
u'manager: %s', user, e)
|
||||
return user
|
||||
|
|
Loading…
Reference in New Issue