Merge pull request #432 from kivy/inclement-patch-1
Fix file_matches to never return None
This commit is contained in:
commit
13e3c2266b
1 changed files with 0 additions and 2 deletions
|
@ -582,8 +582,6 @@ class Buildozer(object):
|
||||||
result = []
|
result = []
|
||||||
for pattern in patterns:
|
for pattern in patterns:
|
||||||
matches = glob(expanduser(pattern.strip()))
|
matches = glob(expanduser(pattern.strip()))
|
||||||
if not matches:
|
|
||||||
return
|
|
||||||
result.extend(matches)
|
result.extend(matches)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue