# HG changeset patch # User Marcin Kuzminski # Date 2016-11-07 14:01:27 # Node ID 5d53524488fb0d3fe2511ec3db218f8017c8b5bc # Parent c9d29b6e462bae69f6b05cd3f036f604dd94f0ac authentication-views: fixed old style exception catch syntax. diff --git a/rhodecode/authentication/views.py b/rhodecode/authentication/views.py --- a/rhodecode/authentication/views.py +++ b/rhodecode/authentication/views.py @@ -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. '