Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mailman-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
irt-public
mailman-tools
Commits
fc8d4555
Commit
fc8d4555
authored
7 years ago
by
Mr. Dmitry Makovey
Browse files
Options
Downloads
Patches
Plain Diff
wrong name was checked in list filter. fixed that.
parent
81001a89
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
list_stats.py
+2
-2
2 additions, 2 deletions
list_stats.py
with
2 additions
and
2 deletions
list_stats.py
+
2
−
2
View file @
fc8d4555
...
@@ -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
'
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment