Compare commits

..

3 Commits

View File

@ -36,7 +36,7 @@ def sync_members(
check=True,
)
for line in output.stdout.splitlines():
print(f"[Syncing {mailing_list}] {line}")
print(f"{mailing_list}: {line}")
def main(mailman_bin: Path, api: str, api_auth: str, list_suffix: str, dry_run: bool):
@ -79,7 +79,7 @@ if __name__ == "__main__":
args = argp.parse_args()
if "API_AUTH" in os.environ:
api_auth = os.environ.get("API_AUTH")
api_auth = os.environ.get('API_AUTH')
else:
print("Missing API_AUTH environment variable")
exit(-1)