FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #11 from i-jey/bridge_send_and_receive_bugfix · PyJavaZ/PyJavaZ@356a93b · GitHub

Commit 356a93b

Browse files
authored
Merge pull request #11 from i-jey/bridge_send_and_receive_bugfix
Address issue #10: minor fix to looping logic in `Bridge` `send_and_receive(...)`)
2 parents 06b1027 + 607ef39 commit 356a93b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎pyjavaz/_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version_info = (1, 2, 4)
1+
version_info = (1, 2, 5)
22
__version__ = ".".join(map(str, version_info))

‎pyjavaz/bridge.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def send_and_receive(self, message, timeout=None, give_up_condition=None):
418418
try:
419419
response = self._response_queue.get(timeout=timeout)
420420
except Empty:
421-
pass
421+
continue
422422
if isinstance(response, Exception):
423423
raise response
424424
return response

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL