[Zope3-checkins] CVS: Zope3/src/zope/app/services - pagefolder.py:1.13.18.2

Fred L. Drake, Jr. fred at zope.com
Mon Sep 8 18:57:09 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv24717

Modified Files:
      Tag: parentgeddon-branch
	pagefolder.py 
Log Message:
Fix a couple more tests, and make them pass as well.

=== Zope3/src/zope/app/services/pagefolder.py 1.13.18.1 => 1.13.18.2 ===
--- Zope3/src/zope/app/services/pagefolder.py:1.13.18.1	Mon Sep  8 14:21:47 2003
+++ Zope3/src/zope/app/services/pagefolder.py	Mon Sep  8 17:56:38 2003
@@ -60,7 +60,7 @@
     def setObject(self, name, object):
         if (IRegistrationManager.isImplementedBy(object) or
             IZPTTemplate.isImplementedBy(object)):
-            return super(PageFolder, self).setObject(name, object)
+            name = super(PageFolder, self).setObject(name, object)
         else:
             raise TypeError("Can only add templates", object)
 




More information about the Zope3-Checkins mailing list