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