manifest: fix Project.listdir_at()
This is returning a list of lists, when it should be returning a list of strings. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
70a38461c8
commit
cd68a6f242
|
@ -1267,7 +1267,7 @@ class Project:
|
||||||
|
|
||||||
# A tab character separates the SHA from the file name in each
|
# A tab character separates the SHA from the file name in each
|
||||||
# NUL-separated entry.
|
# NUL-separated entry.
|
||||||
return [f.decode(encoding).split('\t', 1)[1:]
|
return [f.decode(encoding).split('\t', 1)[1]
|
||||||
for f in out.split(b'\x00') if f]
|
for f in out.split(b'\x00') if f]
|
||||||
|
|
||||||
# FIXME: this whole class should just go away. See #327.
|
# FIXME: this whole class should just go away. See #327.
|
||||||
|
|
Loading…
Reference in New Issue