[CMF-checkins] CVS: CMF/CMFDefault - Favorite.py:1.13.2.3
Tres Seaver
tseaver@zope.com
Wed, 9 Jan 2002 08:41:23 -0500
Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv16420
Modified Files:
Tag: CMF-1_2-branch
Favorite.py
Log Message:
- Fix typo, add unit tests for Favoites (merged from branch).
=== CMF/CMFDefault/Favorite.py 1.13.2.2 => 1.13.2.3 ===
##############################################################################
"""
-"""
+ Favorites represent references to other objects within the same
+ CMF site..
-ADD_CONTENT_PERMISSION = 'Add portal content'
+$Id$
+"""
+__version__ = "$Revision$"[11:-2]
import Globals
from Globals import HTMLFile, HTML
@@ -116,7 +119,7 @@
linking to
"""
portal_url = getToolByName(self, 'portal_url')
- return portal_url.getPortalObject().retrictedTraverse(self.remote_url)
+ return portal_url.getPortalObject().restrictedTraverse(self.remote_url)
def edit( self, remote_url ):
"""