[CMF-checkins] CVS: Products/CMFCore - PortalContent.py:1.49

Jens Vagelpohl jens at dataflake.org
Mon Mar 21 16:13:02 EST 2005


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv28557/CMFCore

Modified Files:
	PortalContent.py 
Log Message:
- CMFCore.PortalContent: Wrong variable name in __call__ would blow up
  if no default view could be found for a piece of content.


=== Products/CMFCore/PortalContent.py 1.48 => 1.49 ===
--- Products/CMFCore/PortalContent.py:1.48	Tue Sep 14 15:02:21 2004
+++ Products/CMFCore/PortalContent.py	Mon Mar 21 16:13:02 2005
@@ -103,6 +103,6 @@
                 return method()
         else:
             raise NotFound( 'Cannot find default view for "%s"' %
-                            '/'.join( obj.getPhysicalPath() ) )
+                            '/'.join( self.getPhysicalPath() ) )
 
 InitializeClass(PortalContent)



More information about the CMF-checkins mailing list