From e1e3b8d17762b88fc8d89d0a1b732b3c9106de4f Mon Sep 17 00:00:00 2001 From: "Vgr E. Barry" Date: Thu, 2 Feb 2017 21:00:47 -0500 Subject: [PATCH] Ignore locals from hook.caller --- src/decorators.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/decorators.py b/src/decorators.py index cc0fa60..ce89c36 100644 --- a/src/decorators.py +++ b/src/decorators.py @@ -483,6 +483,7 @@ class hook: @handle_error def caller(self, *args, **kwargs): + _ignore_locals_ = True return self.func(*args, **kwargs) @staticmethod