From 38509cc155d9be7daa7e9d5177385cf3a9c73e01 Mon Sep 17 00:00:00 2001 From: Guilherme Scaranse Date: Fri, 19 Nov 2021 14:50:04 -0300 Subject: [PATCH] fix codestyle --- sentry_sdk/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sentry_sdk/utils.py b/sentry_sdk/utils.py index a53eba1b81..1aba6cf92d 100644 --- a/sentry_sdk/utils.py +++ b/sentry_sdk/utils.py @@ -880,6 +880,7 @@ def _get_contextvars(): pass # Fall back to basic thread-local usage. + from threading import local return False, _make_threadlocal_contextvars(local)