Fix pylint issue R1737: use-yield-from
Fix: osbuild/pipeline.py:101:12: R1737: Use 'yield from' directly instead of yielding each element one by one (use-yield-from) Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
689ca5cfe5
commit
7f86ccc7fc
1 changed files with 1 additions and 2 deletions
|
|
@ -98,8 +98,7 @@ class Stage:
|
|||
if ip.origin != "org.osbuild.pipeline":
|
||||
continue
|
||||
|
||||
for ref in ip.refs:
|
||||
yield ref
|
||||
yield from ip.refs
|
||||
|
||||
def add_input(self, name, info, origin, options=None):
|
||||
ip = Input(name, info, origin, options or {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue