mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
python: Elide type=str from argparse arguments.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Alex Vandiver
parent
fbfd4b399d
commit
a50fae89e2
@@ -54,17 +54,17 @@ from urllib.request import Request, urlopen
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
|
||||
parser.add_argument('-r', '--recipient', type=str, default='',
|
||||
parser.add_argument('-r', '--recipient', default='',
|
||||
help="Original recipient.")
|
||||
|
||||
parser.add_argument('-s', '--shared-secret', type=str, default='',
|
||||
parser.add_argument('-s', '--shared-secret', default='',
|
||||
help="Secret access key.")
|
||||
|
||||
parser.add_argument('-d', '--dst-host', dest="host", type=str, default='https://127.0.0.1',
|
||||
parser.add_argument('-d', '--dst-host', dest="host", default='https://127.0.0.1',
|
||||
help="Destination server address for uploading email from email mirror. "
|
||||
"Address must contain a HTTP protocol.")
|
||||
|
||||
parser.add_argument('-u', '--dst-url', dest="url", type=str, default='/email_mirror_message',
|
||||
parser.add_argument('-u', '--dst-url', dest="url", default='/email_mirror_message',
|
||||
help="Destination relative url for uploading email from email mirror.")
|
||||
|
||||
parser.add_argument('-n', '--not-verify-ssl', dest="verify_ssl", action='store_false',
|
||||
|
||||
Reference in New Issue
Block a user