python: Normalize quotes with Black.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-02-11 23:20:45 -08:00
committed by Tim Abbott
parent 11741543da
commit 6e4c3e41dc
989 changed files with 32792 additions and 32792 deletions

View File

@@ -12,11 +12,11 @@ class Command(ZulipBaseCommand):
def add_arguments(self, parser: ArgumentParser) -> None:
self.add_realm_args(parser, True)
parser.add_argument('-s', '--streams', help='A comma-separated list of stream names.')
parser.add_argument("-s", "--streams", help="A comma-separated list of stream names.")
parser.add_argument(
'--referred-by',
help='Email of referrer',
"--referred-by",
help="Email of referrer",
required=True,
)
@@ -31,7 +31,7 @@ class Command(ZulipBaseCommand):
stream = ensure_stream(realm, stream_name, acting_user=None)
streams.append(stream)
referred_by = self.get_user(options['referred_by'], realm)
invite_as = PreregistrationUser.INVITE_AS['MEMBER']
referred_by = self.get_user(options["referred_by"], realm)
invite_as = PreregistrationUser.INVITE_AS["MEMBER"]
invite_link = do_create_multiuse_invite_link(referred_by, invite_as, streams)
print(f"You can use {invite_link} to invite as many number of people to the organization.")