[Zope-CMF] typo in RegistrationTool.py

Luca Olivetti luca@wetron.es
Tue, 26 Nov 2002 15:53:34 +0100


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


-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004      Fax +34 93 5883007