mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
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>
This commit is contained in:
parent
1dbdeaa8d7
commit
5ac65fdf9a
@ -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:]
|
||||
|
Loading…
x
Reference in New Issue
Block a user