Skip to content

Commit 41fa7cc

Browse files
committed
fix: remove nolocal on unset param in logcontext.py
flake8 was failing in ci on it.
1 parent 97446ad commit 41fa7cc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

roundup/logcontext.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ def store_trace_reason(location=None):
130130
def decorator(func):
131131
@functools.wraps(func)
132132
def wrapper(*args, **kwargs):
133-
nonlocal location
134133

135134
reason = None
136135
prev_trace_reason = None

0 commit comments

Comments
 (0)