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

commit 3e8ca41542901987496ce53ad6fb4bd9cc897ab0
Author: Andrew Stitcher <[email protected]>
AuthorDate: Thu Dec 18 21:36:45 2025 -0500

    NO-JIRA: [Python] Don't return inside a finally block
    
    Detected by Python 3.14
---
 python/proton/_wrapper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/proton/_wrapper.py b/python/proton/_wrapper.py
index 68b7b4c36..170e0a4cd 100644
--- a/python/proton/_wrapper.py
+++ b/python/proton/_wrapper.py
@@ -77,7 +77,7 @@ class Wrapper:
             self = super().__new__(cls)
             self._impl = impl
             self._attrs = attrs
-            return self
+        return self
 
     def Uninitialized(self) -> bool:
         return self._attrs == {}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to