diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2023-05-04 15:25:31 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2023-05-09 01:59:32 +0000 |
commit | 5ac65fdf9acb286a152032cc8913b5ce28fe30fc (patch) | |
tree | 070fa757fc6b1b07d95faf6e21f25e91b5da44e8 | |
parent | 1dbdeaa8d7fcfa4b620bbd24e457ee7f2e6c132d (diff) | |
download | samba-5ac65fdf9acb286a152032cc8913b5ce28fe30fc.tar.gz |
build:wafsamba: Fix TypeError in read_submodule_status()
parts = l.split(" ")
^^^^^^^^^^^^
TypeError: a bytes-like object is required, not 'str'
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | buildtools/wafsamba/samba_git.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_git.py b/buildtools/wafsamba/samba_git.py index 09a204f1f4f..fe540ecccff 100644 --- a/buildtools/wafsamba/samba_git.py +++ b/buildtools/wafsamba/samba_git.py @@ -43,6 +43,7 @@ def read_submodule_status(path, env=None): cwd=path) (stdout, stderr) = p.communicate(None) for l in stdout.splitlines(): + l = l.decode('utf-8') l = l.rstrip() status = l[0] l = l[1:] |