Skip to content

Commit

Permalink
fix(agw): Fixed integ test python syntx warning (magma#12996)
Browse files Browse the repository at this point in the history
Signed-off-by: VinashakAnkitAman <ankit.aman@radisys.com>
  • Loading branch information
VinashakAnkitAman authored and emakeev committed Aug 5, 2022
1 parent 4aa9928 commit 643f72a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def recv(stream):
assert (not stream.closed) and stream.readable

length = stream.readline()
if len(length) and length is not b'0':
if len(length) and length != b'0':
length = int(length.decode())
line = stream.read(length)
return pickle.loads(line)
Expand Down

0 comments on commit 643f72a

Please sign in to comment.