[CMF-checkins] CVS: CMF/CMFDefault - RegistrationTool.py:1.28
    Tres Seaver 
    tseaver at zope.com
       
    Tue Jun  1 14:55:38 EDT 2004
    
    
  
Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv27965/CMFDefault
Modified Files:
	RegistrationTool.py 
Log Message:
 - Remove unintended forward-port of string-based exceptions.
=== CMF/CMFDefault/RegistrationTool.py 1.27 => 1.28 ===
--- CMF/CMFDefault/RegistrationTool.py:1.27	Tue Jun  1 13:55:00 2004
+++ CMF/CMFDefault/RegistrationTool.py	Tue Jun  1 14:55:37 2004
@@ -152,7 +152,7 @@
 
         check, msg = _checkEmail(member.getProperty('email'))
         if not check:
-            raise 'ValueError', msg
+            raise ValueError, msg
 
         # Rather than have the template try to use the mailhost, we will
         # render the message ourselves and send it from here (where we
@@ -188,7 +188,7 @@
 
         check, msg = _checkEmail(email)
         if not check:
-            raise 'ValueError', msg
+            raise ValueError, msg
 
         # Rather than have the template try to use the mailhost, we will
         # render the message ourselves and send it from here (where we
    
    
More information about the CMF-checkins
mailing list