summaryrefslogtreecommitdiff
path: root/src/mailman/commands/cli_lists.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-07-28 23:10:56 -0400
committerBarry Warsaw2016-07-28 23:10:56 -0400
commit90e84bee5f47cbcdb9e9c367c60a877e325ef3e7 (patch)
treebb7d2df3af049c6e84d65fd25cc0258b6af6ebb9 /src/mailman/commands/cli_lists.py
parent86b25ba2e3bac0e034235d322c7c77080d737833 (diff)
downloadmailman-90e84bee5f47cbcdb9e9c367c60a877e325ef3e7.tar.gz
mailman-90e84bee5f47cbcdb9e9c367c60a877e325ef3e7.tar.zst
mailman-90e84bee5f47cbcdb9e9c367c60a877e325ef3e7.zip
Diffstat (limited to 'src/mailman/commands/cli_lists.py')
-rw-r--r--src/mailman/commands/cli_lists.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/commands/cli_lists.py b/src/mailman/commands/cli_lists.py
index 9813da29c..f5e6d724a 100644
--- a/src/mailman/commands/cli_lists.py
+++ b/src/mailman/commands/cli_lists.py
@@ -90,7 +90,7 @@ class Lists:
if not args.quiet:
print(_('No matching mailing lists found'))
return
- count = len(mailing_lists) # noqa
+ count = len(mailing_lists) # noqa: F841
if not args.quiet:
print(_('$count matching mailing lists found:'))
# Calculate the longest identifier.
@@ -199,7 +199,7 @@ class Create:
invalid_owners = [owner for owner in args.owners
if not validator.is_valid(owner)]
if invalid_owners:
- invalid = COMMASPACE.join(sorted(invalid_owners)) # noqa
+ invalid = COMMASPACE.join(sorted(invalid_owners)) # noqa: F841
self.parser.error(_('Illegal owner addresses: $invalid'))
return
try: