[Zope-CVS] CVS: Products/Ape/lib/apelib/config - apeconf.py:1.4.2.5

Shane Hathaway shane at zope.com
Tue Dec 30 12:20:58 EST 2003


Update of /cvs-repository/Products/Ape/lib/apelib/config
In directory cvs.zope.org:/tmp/cvs-serv24473/config

Modified Files:
      Tag: ape-0_8-branch
	apeconf.py 
Log Message:
Fixed the register-class attribute


=== Products/Ape/lib/apelib/config/apeconf.py 1.4.2.4 => 1.4.2.5 ===
--- Products/Ape/lib/apelib/config/apeconf.py:1.4.2.4	Thu Dec 25 16:52:10 2003
+++ Products/Ape/lib/apelib/config/apeconf.py	Tue Dec 30 12:20:57 2003
@@ -156,10 +156,10 @@
         for key in ('class', 'extends', 'register-class'):
             if attrs.has_key(key):
                 value = attrs[key]
-                if (key == 'register'):
+                if (key == 'register-class'):
                     if value.lower() == 'true':
                         value = True
-                    elif value.lower == 'false':
+                    elif value.lower() == 'false':
                         value = False
                     else:
                         raise ValueError("Value must be true or false")




More information about the Zope-CVS mailing list