[CMF-checkins] CVS: CMF/CMFDefault - Favorite.py:1.13.2.2.2.1

Tres Seaver tseaver@zope.com
Wed, 9 Jan 2002 08:39:49 -0500


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv16176

Modified Files:
      Tag: tseaver-tracker_444-branch
	Favorite.py 
Log Message:


  - Fix typo.

  - Add minimal unit test for Favorites.


=== CMF/CMFDefault/Favorite.py 1.13.2.2 => 1.13.2.2.2.1 ===
 ##############################################################################
 """
-"""
+    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 ):
         """