[Zope-CMF] typo in RegistrationTool.py

Tres Seaver tseaver@zope.com
26 Nov 2002 11:09:42 -0500


On Tue, 2002-11-26 at 09:53, Luca Olivetti wrote:
> I'm updating zope & cmf to resume development on an internal project and 
> I'm using the CVS-head version of CMF (prompted by Chris comments on its 
> stability).
> 
> There's a typo in CMFDefault/RegistrationTool.py:
> --- CMF-head/CMFDefault/RegistrationTool.py.orig        Tue Nov 26 
> 15:51:39 2002
> +++ CMF-head/CMFDefault/RegistrationTool.py     Tue Nov 26 15:52:14 2002
> @@ -140,7 +140,7 @@
> 
>           # assert that we can actually get an email address, otherwise
>           # the template will be made with a blank To:, this is bad
> -        if not member.getProperties('email'):
> +        if not member.getProperty('email'):
>               raise 'ValueError', 'That user does not have an email 
> address.'
> 
>           # Rather than have the template try to use the mailhost, we will
> 

As the footer says:

> See http://collector.zope.org/CMF for bug reports and feature requests

Thanks!

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com