From abe38bb16a79cde181e816f6bed7e4c6bba47af0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 25 Dec 2021 17:52:20 +0100 Subject: [PATCH] outposts: fix __exit__ being called without params Signed-off-by: Jens Langhammer --- authentik/outposts/controllers/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/outposts/controllers/base.py b/authentik/outposts/controllers/base.py index fbd665dad..3e1bbab23 100644 --- a/authentik/outposts/controllers/base.py +++ b/authentik/outposts/controllers/base.py @@ -86,7 +86,7 @@ class BaseController: def __exit__(self, exc_type, exc_value, traceback): """Cleanup after usage""" - self.client.__exit__() + self.client.__exit__(exc_type, exc_value, traceback) def get_static_deployment(self) -> str: """Return a static deployment configuration"""