Merge pull request #432 from kivy/inclement-patch-1

Fix file_matches to never return None
This commit is contained in:
Mathieu Virbel 2017-04-17 12:08:44 +02:00 committed by GitHub
commit 13e3c2266b

View file

@ -582,8 +582,6 @@ class Buildozer(object):
result = []
for pattern in patterns:
matches = glob(expanduser(pattern.strip()))
if not matches:
return
result.extend(matches)
return result