Prefix mailman output with targeted mailing list

This commit is contained in:
Adam Goldsmith 2023-01-05 21:55:27 -05:00
parent f87cfbb435
commit 303ddc002c

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"[Syncing {mailing_list}] {line}")
def main(mailman_bin: Path, api: str, api_auth: str, list_suffix: str, dry_run: bool):