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,
|
||||
)
|
||||
if args.skip_excluded:
|
||||
for d in deps:
|
||||
if self.app.is_excluded_from_build(d) is not None:
|
||||
deps.remove(d)
|
||||
deps = [d for d in deps if self.app.is_excluded_from_build(d) is None]
|
||||
subsecs = self.app.distro.os_cascade
|
||||
log(DEBUG, 'subsecs = ', subsecs)
|
||||
requires: set[str] = set()
|
||||
|
|
|
|||
Loading…
Reference in a new issue