X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=decorator_utils.py;h=752fb919df35dc8ff5f93aba672b9d10bc1efb19;hb=55a3172e37855f388b9ba0dfc91641a6c9ad1376;hp=07ad881f63a613de38d82d9a54babce92127b1b5;hpb=ffc4022c1ea2c2a5892150ff55e6c9a9ddbb8756;p=python_utils.git diff --git a/decorator_utils.py b/decorator_utils.py index 07ad881..752fb91 100644 --- a/decorator_utils.py +++ b/decorator_utils.py @@ -508,7 +508,6 @@ def thunkify(func): exc[1] = sys.exc_info() # (type, value, traceback) msg = f"Thunkify has thrown an exception (will be raised on thunk()):\n{traceback.format_exc()}" logger.warning(msg) - warnings.warn(msg) finally: wait_event.set()