diff --git a/satella/__init__.py b/satella/__init__.py index 8e89fa5a4035c0d6200fbfff0433840da639a6c2..125a239cb89897a9d162434503be92eddfed6d58 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 21733132e58853b27aba9760783385a24f005389..a908b7b0e978930980d9586269195c30ccdc7600 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