Verified Commit 5046dfa8 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

apkfile: Fix logic error

parent 2f4c6f45
......@@ -48,11 +48,8 @@ def _tar_filter(filename):
"""tarfile exclusion predicate that calls all defined filter functions."""
global FILTERS
for func in FILTERS:
if func(filename):
return True
return False
results = [func(filename) for func in FILTERS]
return all(results)
def _ensure_no_debug(filename):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment