Convert list names to lowercase when checking for existance
This commit is contained in:
parent
c65cd8ea8e
commit
ab0c8fb5af
@ -146,7 +146,7 @@ def main(
|
|||||||
for name, props in expected_lists.items():
|
for name, props in expected_lists.items():
|
||||||
list_name = name + list_suffix
|
list_name = name + list_suffix
|
||||||
list_manager = ListManager(mailman_bin, list_name, dry_run)
|
list_manager = ListManager(mailman_bin, list_name, dry_run)
|
||||||
if list_name not in existing_lists:
|
if list_name.lower() not in existing_lists:
|
||||||
if dry_run:
|
if dry_run:
|
||||||
print(f"Skipping non-existing list {list_name} in dry run mode")
|
print(f"Skipping non-existing list {list_name} in dry run mode")
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user