lib:py: bugfix check return value async_recv
Without this patch the code was returning an empty message in case
MockTurtle had nothing to deliver. This is wrong, an empty message
could be a valid message, but in this case we want to tell the user
that the buffer was empty. We do this by returning None.
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
Showing
Please
register
or
sign in
to comment