From 66d68d661ea1bec4c72ae2a866b6765cbb8d5b13 Mon Sep 17 00:00:00 2001 From: Dave Bouvier Date: Fri, 23 May 2014 10:00:33 -0400 Subject: [PATCH] Fix server error when registering a new account. --- lib/galaxy/webapps/galaxy/controllers/user.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/galaxy/webapps/galaxy/controllers/user.py b/lib/galaxy/webapps/galaxy/controllers/user.py index 25abda560af..927c8bbc201 100644 --- a/lib/galaxy/webapps/galaxy/controllers/user.py +++ b/lib/galaxy/webapps/galaxy/controllers/user.py @@ -1144,9 +1144,9 @@ class User( BaseUIController, UsesFormDefinitionsMixin, CreatesUsersMixin, Creat return "A public user name is required in the tool shed." if username in [ 'repos' ]: return "The term %s is a reserved word in the tool shed, so it cannot be used as a public user name." % username - message = "\n".join(validate_email( trans, email ), - validate_password( trans, password, confirm ), - validate_publicname( trans, username )) + message = "\n".join( [ validate_email( trans, email ), + validate_password( trans, password, confirm ), + validate_publicname( trans, username ) ] ).rstrip() if not message: if trans.webapp.name == 'galaxy': if self.get_all_forms( trans,