Replaced an old for ... in ... yield loop with yield from ...

This commit is contained in:
Fabio Manganiello 2024-05-25 10:35:23 +02:00
parent b1dd484704
commit 2e0246413c
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -480,8 +480,7 @@ class Dependencies:
+ ' \\\n '.join(deps) + ' \\\n '.join(deps)
) )
else: else:
for dep in deps: yield from deps
yield dep
def to_install_commands(self) -> Generator[str, None, None]: def to_install_commands(self) -> Generator[str, None, None]:
""" """