Make the tarball generation tool handle spaces in filenames

<insert opinion on such filenames here>

Change-Id: Ie1b5fac97eea93c9ac934ffb8bf6c0d9a0559339
This commit is contained in:
Frank Gevaerts 2013-03-05 22:37:27 +01:00
parent 1b90645003
commit 3e4be68f8b
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ def get_lstree(repo, start, filterlist=[]):
return objects
for line in cmdout[0].decode().split('\n'):
regex = re.findall(b'([0-9]+)\s+([a-z]+)\s+([0-9a-f]+)\s+(\S+)',
regex = re.findall(b'([0-9]+)\s+([a-z]+)\s+([0-9a-f]+)\s+(.*)',
line.encode())
for rf in regex:
# filter