From 3aab8af9e23122d3af8d1efcb4c30b142b418dc2 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Mon, 7 Nov 2016 15:01:27 +0100 Subject: [PATCH] authentication-views: fixed old style exception catch syntax. --- rhodecode/authentication/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhodecode/authentication/views.py b/rhodecode/authentication/views.py index 636c809d..376d7622 100644 --- 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. '