This is an automated email from the ASF dual-hosted git repository.

astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/main by this push:
     new 0eb628bfb NO_JIRA: Remove unneeded python 'global' tripping up flake8 
linter
0eb628bfb is described below

commit 0eb628bfb905b95c0008c578aeca07c1c4eaac6d
Author: Andrew Stitcher <astitc...@apache.org>
AuthorDate: Tue Apr 1 15:55:43 2025 -0400

    NO_JIRA: Remove unneeded python 'global' tripping up flake8 linter
---
 python/proton/_tracing.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/python/proton/_tracing.py b/python/proton/_tracing.py
index d45fd31e6..72d786d8c 100644
--- a/python/proton/_tracing.py
+++ b/python/proton/_tracing.py
@@ -42,7 +42,6 @@ _trace_key = proton.symbol('x-opt-qpid-tracestate')
 
 
 def get_tracer():
-    global _tracer
     if _tracer is not None:
         return _tracer
     exe = sys.argv[0] if sys.argv[0] else 'interactive-session'


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to