From 1bee98cb58461121af5c4482beb247c6cd503a20 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 3 Mar 2010 22:20:40 -0500 Subject: * Fix two type specifications in argparse. * Update printing of version string to avoid argparse DeprecationWarnings. --- 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 0882e1030..38c1823a1 100644 --- a/src/mailman/commands/cli_lists.py +++ b/src/mailman/commands/cli_lists.py @@ -133,12 +133,12 @@ class Create: self.parser = parser command_parser.add_argument( '--language', - type='unicode', metavar='CODE', help=_("""\ + type=unicode, metavar='CODE', help=_("""\ Set the list's preferred language to CODE, which must be a registered two letter language code.""")) command_parser.add_argument( '-o', '--owner', - type='unicode', action='append', default=[], + type=unicode, action='append', default=[], dest='owners', metavar='OWNER', help=_("""\ Specify a listowner email address. If the address is not currently registered with Mailman, the address is registered and -- cgit v1.2.3-70-g09d2