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

View File

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