Skip to content
Snippets Groups Projects
Commit fc8d4555 authored by Mr. Dmitry Makovey's avatar Mr. Dmitry Makovey
Browse files

wrong name was checked in list filter. fixed that.

parent 81001a89
No related branches found
No related tags found
No related merge requests found
...@@ -32,15 +32,15 @@ if __name__ == '__main__': ...@@ -32,15 +32,15 @@ if __name__ == '__main__':
results = {} results = {}
for ml in client.get_lists(): for ml in client.get_lists():
list_name = ml.settings['list_name'] list_name = ml.settings['list_name']
list_fqdn_name = ml.settings['fqdn_listname']
if args.list_fqdn: if args.list_fqdn:
if not (list_name in args.list_fqdn): if not (list_fqdn_name in args.list_fqdn):
# if list name doesn't match required # if list name doesn't match required
# skip along # skip along
continue continue
messages_held = len(ml.held) messages_held = len(ml.held)
members = len(ml.members) members = len(ml.members)
subscription_requests = len(ml.requests) subscription_requests = len(ml.requests)
list_fqdn_name = ml.settings['fqdn_listname']
last_post = ml.settings['last_post_at'] last_post = ml.settings['last_post_at']
last_digest = ml.settings['digest_last_sent_at'] last_digest = ml.settings['digest_last_sent_at']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment