commit | 5995fce04ec51fd739e41a8e66b3d22604e3c384 | [log] [tgz] |
---|---|---|
author | Kenneth Giusti <kgiusti@apache.org> | Tue Nov 26 17:26:56 2019 -0500 |
committer | Robbie Gemmell <robbie@apache.org> | Thu Dec 05 13:00:22 2019 +0000 |
tree | c447391996d39534d97ebb63bea937782e17fcfd | |
parent | e851883fde07b076e7cec83e6570b14505063999 [diff] |
PROTON-2149: session state is a property, not a method This closes #216.
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 @@ @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