authentication-views: fixed old style exception catch syntax.

This commit is contained in:
Marcin Kuzminski 2016-11-07 15:01:27 +01:00
parent a7dabfc2c6
commit 3aab8af9e2

View file

@ -84,7 +84,7 @@ class AuthnPluginViewBase(object):
try:
valid_data = schema.deserialize(data)
except colander.Invalid, e:
except colander.Invalid as e:
# Display error message and display form again.
self.request.session.flash(
_('Errors exist when saving plugin settings. '