##// END OF EJS Templates
authentication-views: fixed old style exception catch syntax.
marcink -
r1092:5d535244 default
parent child Browse files
Show More
@@ -84,7 +84,7 b' class AuthnPluginViewBase(object):'
84
84
85 try:
85 try:
86 valid_data = schema.deserialize(data)
86 valid_data = schema.deserialize(data)
87 except colander.Invalid, e:
87 except colander.Invalid as e:
88 # Display error message and display form again.
88 # Display error message and display form again.
89 self.request.session.flash(
89 self.request.session.flash(
90 _('Errors exist when saving plugin settings. '
90 _('Errors exist when saving plugin settings. '
General Comments 0
You need to be logged in to leave comments. Login now