From 48d14f34d29069866b94c54bfe1157cc0678a31a Mon Sep 17 00:00:00 2001 From: Kayou Date: Mon, 25 Jan 2021 23:24:24 +0100 Subject: [PATCH] remove unused exception var --- moulinette/authenticators/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moulinette/authenticators/__init__.py b/moulinette/authenticators/__init__.py index c36b5da8..0170d345 100644 --- a/moulinette/authenticators/__init__.py +++ b/moulinette/authenticators/__init__.py @@ -130,7 +130,7 @@ class BaseAuthenticator(object): s_id, s_token = token # Attempt to authenticate self._authenticate_session(s_id, s_token) - except MoulinetteError as e: + except MoulinetteError: raise except Exception as e: logger.exception(