From 610436996e3908861f7fa57be34aebf8e65d404e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Fri, 11 Jun 2021 17:32:14 +0200 Subject: [PATCH] final fix --- satella/__init__.py | 2 +- satella/coding/decorators/decorators.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/satella/__init__.py b/satella/__init__.py index 8e89fa5a..125a239c 100644 --- a/satella/__init__.py +++ b/satella/__init__.py @@ -1 +1 @@ -__version__ = '2.17.6a1' +__version__ = '2.17.5' diff --git a/satella/coding/decorators/decorators.py b/satella/coding/decorators/decorators.py index 21733132..a908b7b0 100644 --- a/satella/coding/decorators/decorators.py +++ b/satella/coding/decorators/decorators.py @@ -350,7 +350,7 @@ def call_method_on_exception(exc_classes, method_name, *args, **kwargs): return fun(self, *args, **kwargs) except Exception as e: if isinstance(e, exc_classes): - return getattr(self, method_name)(*args, **kwargs) + return getattr(self, method_name)(self, *args, **kwargs) else: raise return inner -- GitLab