diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2013-03-05 22:37:27 +0100 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2013-03-05 22:37:27 +0100 |
commit | 3e4be68f8b596cf3467f993dc9a210a3d901ca1c (patch) | |
tree | 96864cc212fe9755e606e836dc12961351624ebb | |
parent | 1b906450031a8cf7218c20ad600c2cc939bb8a0a (diff) | |
download | rockbox-3e4be68f8b596cf3467f993dc9a210a3d901ca1c.tar.gz rockbox-3e4be68f8b596cf3467f993dc9a210a3d901ca1c.zip |
Make the tarball generation tool handle spaces in filenames
<insert opinion on such filenames here>
Change-Id: Ie1b5fac97eea93c9ac934ffb8bf6c0d9a0559339
-rwxr-xr-x | utils/common/gitscraper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/common/gitscraper.py b/utils/common/gitscraper.py index 774867f7ba..9660acb83a 100755 --- a/utils/common/gitscraper.py +++ b/utils/common/gitscraper.py | |||
@@ -80,7 +80,7 @@ def get_lstree(repo, start, filterlist=[]): | |||
80 | return objects | 80 | return objects |
81 | 81 | ||
82 | for line in cmdout[0].decode().split('\n'): | 82 | for line in cmdout[0].decode().split('\n'): |
83 | regex = re.findall(b'([0-9]+)\s+([a-z]+)\s+([0-9a-f]+)\s+(\S+)', | 83 | regex = re.findall(b'([0-9]+)\s+([a-z]+)\s+([0-9a-f]+)\s+(.*)', |
84 | line.encode()) | 84 | line.encode()) |
85 | for rf in regex: | 85 | for rf in regex: |
86 | # filter | 86 | # filter |