CmdRequiredOsPkg: Don't modify deps while iterating #97
1 changed files with 1 additions and 3 deletions
|
|
@ -57,9 +57,7 @@ class CmdRequiredOsPkg(Cmd): # export
|
||||||
names_only = True,
|
names_only = True,
|
||||||
)
|
)
|
||||||
if args.skip_excluded:
|
if args.skip_excluded:
|
||||||
for d in deps:
|
deps = [d for d in deps if self.app.is_excluded_from_build(d) is None]
|
||||||
if self.app.is_excluded_from_build(d) is not None:
|
|
||||||
deps.remove(d)
|
|
||||||
subsecs = self.app.distro.os_cascade
|
subsecs = self.app.distro.os_cascade
|
||||||
log(DEBUG, 'subsecs = ', subsecs)
|
log(DEBUG, 'subsecs = ', subsecs)
|
||||||
requires: set[str] = set()
|
requires: set[str] = set()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue