Skip to content

Commit

Permalink
fix isOpen return None, to be consistent with other transport
Browse files Browse the repository at this point in the history
Client: python
  • Loading branch information
geehanlin authored and Jens-G committed Jul 9, 2021
1 parent 44e8a43 commit d8c4345
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/py/src/transport/TTransport.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,8 @@ def open(self):
TTransportException.NOT_OPEN,
"Bad SASL negotiation status: %d (%s)"
% (status, challenge))
def isOpen(self):
return self.transport.isOpen()

def send_sasl_msg(self, status, body):
header = pack(">BI", status, len(body))
Expand Down

0 comments on commit d8c4345

Please sign in to comment.