Skip to content

Commit e7a4844

Browse files
authored
Merge pull request #1921 from Bastian-Krause/bst/expoterstream-kind-cmp
remote/coordinator: use correct response comparison in ExporterStream
2 parents 63749cf + 14d25e5 commit e7a4844

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

labgrid/remote/coordinator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ async def request_task():
417417
in_msg: labgrid_coordinator_pb2.ExporterInMessage
418418
logging.debug("exporter in_msg %s", in_msg)
419419
kind = in_msg.WhichOneof("kind")
420-
if kind in "response":
420+
if kind == "response":
421421
cmd = pending_commands.pop(0)
422422
cmd.complete(in_msg.response)
423423
logging.debug("Command %s is done", cmd)

0 commit comments

Comments
 (0)