Prefix mailman output with targeted mailing list

This commit is contained in:
Adam Goldsmith 2023-01-05 21:55:27 -05:00
parent dbce4f278a
commit fcd0089240

View File

@ -35,7 +35,8 @@ def sync_members(
capture_output=True,
check=True,
)
print(output.stdout)
for line in output.stdout.splitlines():
print(f"{mailing_list}: {line}")
def main(mailman_bin: Path, api: str, api_auth: str, list_suffix: str, dry_run: bool):