cmds / lib: Fix more static checker findings
Fix more errors and warnings produced by "make check" as reported by CI and a pyright upgrade. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
cdc1ce9f33
commit
24928c6f5d
16 changed files with 123 additions and 122 deletions
|
|
@ -61,7 +61,6 @@ class CmdRequiredOsPkg(Cmd): # export
|
|||
vals = self.app.get_values(deps, ['pkg.requires.' + sec], [flavour])
|
||||
if vals:
|
||||
requires |= set(vals)
|
||||
if args.quote:
|
||||
out = [f'"{dep}"' for dep in requires]
|
||||
out = [f'"{dep}"' for dep in requires] if args.quote else requires
|
||||
# TODO: add all not in build tree as -devel
|
||||
print(' '.join(out))
|
||||
|
|
|
|||
Loading…
Reference in a new issue