Commit bc50a338 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

APKFile: correct an egregious oversight involving chain

These objects exhaust after a single pass, so the base packages
*always* had the contents of *all* their splits.  Ouch.
parent 065f3a5a
......@@ -361,9 +361,9 @@ class APKFile:
splits += load_package_split(package)
splits = [split for split in splits if split is not None]
exclude_from_base = chain.from_iterable([
exclude_from_base = list(chain.from_iterable([
[path for path in split['paths']] for split in splits
for split in splits:
split_package = copy(package)
Supports Markdown
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