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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5995fce  PROTON-2149: session state is a property, not a method
5995fce is described below

commit 5995fce04ec51fd739e41a8e66b3d22604e3c384
Author: Kenneth Giusti <kgiu...@apache.org>
AuthorDate: Tue Nov 26 17:26:56 2019 -0500

    PROTON-2149: session state is a property, not a method
    
    This closes #216.
---
 python/proton/_handlers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/proton/_handlers.py b/python/proton/_handlers.py
index 86d083a..443f728 100644
--- a/python/proton/_handlers.py
+++ b/python/proton/_handlers.py
@@ -1082,7 +1082,7 @@ class Handshaker(Handler):
     @staticmethod
     def on_session_remote_open(event):
         ssn = event.session
-        if ssn.state() & Endpoint.LOCAL_UNINIT:
+        if ssn.state & Endpoint.LOCAL_UNINIT:
             ssn.open()
 
     @staticmethod


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

Reply via email to