0002-pep8ness.patch
src/authentic2/manager/forms.py | ||
---|---|---|
370 | 370 |
context={ |
371 | 371 |
'user': user, |
372 | 372 |
}) |
373 |
except smtplib.SMTPException, e:
|
|
373 |
except smtplib.SMTPException as e:
|
|
374 | 374 |
logger.error(u'registration mail could not be sent to user %s created through ' |
375 | 375 |
u'manager: %s', user, e) |
376 | 376 |
return user |
377 |
- |