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:
Martí Bolívar 2020-01-15 16:02:25 -08:00 committed by Marti Bolivar
parent 70a38461c8
commit cd68a6f242
1 changed files with 1 additions and 1 deletions

View File

@ -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.