python: Elide type=str from argparse arguments.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-09-02 12:24:05 -07:00
committed by Alex Vandiver
parent fbfd4b399d
commit a50fae89e2
45 changed files with 53 additions and 86 deletions

View File

@@ -16,7 +16,7 @@ class Command(ZulipBaseCommand):
parser.add_argument('--force',
action="store_true",
help='Override that the domain is restricted to external users.')
parser.add_argument('emails', metavar='<email>', type=str, nargs='*',
parser.add_argument('emails', metavar='<email>', nargs='*',
help='email of users to generate an activation link for')
self.add_realm_args(parser, True)