create_user: fix missing spaces in options error message.

(imported from commit 25ea284b17dfb3160aca336e31203991f70994d8)
This commit is contained in:
Jessica McKellar 2013-01-08 17:08:13 -05:00
parent e5f1dad409
commit f87ffd0703
1 changed files with 2 additions and 4 deletions

View File

@ -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: ")