File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ class Comms:
217217 yield
218218
219219 // If there are no waiting lambdas for the msg id, then latchForMessage can be released
220- if ( lambdasForBadAck .contains respondingTo ) == false and ( lambdasForGoodAck .contains respondingTo ) == false and ( lambdasForBadResponse .contains respondingTo ) == false and ( lambdasForGoodResponse .contains respondingTo ) == false :
220+ if not lambdasForBadAck .contains respondingTo and not lambdasForGoodAck .contains respondingTo and not lambdasForBadResponse .contains respondingTo and not lambdasForGoodResponse .contains respondingTo :
221221 // Remove remaining timeouts, and release the latch
222222 if waitTimeouts .contains respondingTo :
223223 waitTimeouts .remove respondingTo
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ class HttpMsg:
105105 tasksWaiting ++
106106 task ::
107107 response := msgLatch .get
108- if response == false :
108+ if not response :
109109 writer .out .write "$( msg .msgId ) No response...\n "
110110 else:
111111 write-msg-out writer response
You can’t perform that action at this time.
0 commit comments