Compare commits
3 Commits
303ddc002c
...
fcd0089240
Author | SHA1 | Date | |
---|---|---|---|
fcd0089240 | |||
dbce4f278a | |||
d9a4a2c665 |
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user