mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
create_user: fix missing spaces in options error message.
(imported from commit 25ea284b17dfb3160aca336e31203991f70994d8)
This commit is contained in:
@@ -39,10 +39,8 @@ Terms of Service by passing --this-user-has-accepted-the-tos.""")
|
|||||||
raise CommandError("Invalid email address.")
|
raise CommandError("Invalid email address.")
|
||||||
except ValueError:
|
except ValueError:
|
||||||
if len(args) != 0:
|
if len(args) != 0:
|
||||||
raise CommandError("Either specify an email and full name" + \
|
raise CommandError("""Either specify an email and full name as two
|
||||||
"as two parameters, or specify no parameters for" + \
|
parameters, or specify no parameters for interactive user creation.""")
|
||||||
"interactive user creation.")
|
|
||||||
return 1
|
|
||||||
else:
|
else:
|
||||||
while True:
|
while True:
|
||||||
email = raw_input("Email: ")
|
email = raw_input("Email: ")
|
||||||
|
|||||||
Reference in New Issue
Block a user