[CMF-checkins] CVS: CMF/CMFDefault - RegistrationTool.py:1.18.10.1

Christian Theune ct@gocept.com
Fri, 14 Mar 2003 10:47:38 -0500


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv18521

Modified Files:
      Tag: ctheune-bug48-branch
	RegistrationTool.py 
Log Message:
fix for bug #48 


=== CMF/CMFDefault/RegistrationTool.py 1.18 => 1.18.10.1 ===
--- CMF/CMFDefault/RegistrationTool.py:1.18	Thu Feb 13 02:52:03 2003
+++ CMF/CMFDefault/RegistrationTool.py	Fri Mar 14 10:47:37 2003
@@ -100,8 +100,8 @@
                 return 'You must enter a valid name.'
 
             if not self.isMemberIdAllowed(username):
-                raise ('The login name you selected is already '
-                       'in use or is not valid. Please choose another.')
+                return 'The login name you selected is already '\
+                       'in use or is not valid. Please choose another.'
 
             if not props.get('email'):
                 return 'You must enter a valid email address.'