diff roundup/logcontext.py @ 8448:3df6b8988074

fix: remove nolocal on unset param in logcontext.py flake8 was failing in ci on it.
author John Rouillard <rouilj@ieee.org>
date Wed, 17 Sep 2025 01:05:35 -0400
parents 14c7c07b32d8
children 756cdf8e34f2
line wrap: on
line diff
--- a/roundup/logcontext.py	Wed Sep 17 00:45:04 2025 -0400
+++ b/roundup/logcontext.py	Wed Sep 17 01:05:35 2025 -0400
@@ -130,7 +130,6 @@
     def decorator(func):
         @functools.wraps(func)
         def wrapper(*args, **kwargs):
-            nonlocal location
 
             reason = None
             prev_trace_reason = None

Roundup Issue Tracker: http://roundup-tracker.org/