Use generator expressions

PEP 289 – Generator Expressions.
This commit is contained in:
j-t-1
2024-12-17 20:48:42 +00:00
committed by GitHub
parent c8e2347a0f
commit daf7765774
@@ -55,7 +55,7 @@ class Check_creds(interfaces.plugins.PluginInterface):
for cred_addr, pids in creds.items():
if len(pids) > 1:
pid_str = ", ".join([str(pid) for pid in pids])
pid_str = ", ".join(str(pid) for pid in pids)
fields = [
format_hints.Hex(cred_addr),