From 90e84bee5f47cbcdb9e9c367c60a877e325ef3e7 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 28 Jul 2016 23:10:56 -0400 Subject: Rebase mailman/mailman!180 and cleanup # noqa --- src/mailman/commands/cli_lists.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mailman/commands/cli_lists.py') 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: -- cgit v1.2.3-70-g09d2