Skip to content

Commit

Permalink
Merge pull request #432 from kivy/inclement-patch-1
Browse files Browse the repository at this point in the history
Fix file_matches to never return None
  • Loading branch information
tito committed Apr 17, 2017
2 parents 5e4cd5a + c4b03d9 commit 13e3c22
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions buildozer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,6 @@ def file_matches(self, patterns):
result = []
for pattern in patterns:
matches = glob(expanduser(pattern.strip()))
if not matches:
return
result.extend(matches)
return result

Expand Down

0 comments on commit 13e3c22

Please sign in to comment.