[PATCH v3 1/5] bbremote: Fix default payload value in BBPacket
Sascha Hauer
sha at pengutronix.de
Mon Feb 13 01:11:45 PST 2023
On Tue, Feb 07, 2023 at 05:20:51PM +0100, Jules Maselbas wrote:
> The payload variable is expected to typeof bytes, however the default
> value in BBPacket contructor is of type str, a simple way to declare
> a byte literal in Python is to prefix the string literal with `b`.
>
> Signed-off-by: Jules Maselbas <jmaselbas at kalray.eu>
> ---
> scripts/remote/messages.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/scripts/remote/messages.py b/scripts/remote/messages.py
> index 76cccad393..de15e72ed5 100644
> --- a/scripts/remote/messages.py
> +++ b/scripts/remote/messages.py
> @@ -35,12 +35,13 @@ class BBType(object):
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list