From 8c2e33dab9e0eabcf91a5aa20de8bc5c99839fbc Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 13 Dec 2018 16:19:46 +0100 Subject: [PATCH 2/2] pep8ness --- src/authentic2/manager/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authentic2/manager/forms.py b/src/authentic2/manager/forms.py index 1232b3f4..18b1fad4 100644 --- a/src/authentic2/manager/forms.py +++ b/src/authentic2/manager/forms.py @@ -370,7 +370,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 -- 2.18.0