[Subversion] / PEAK / src / peak / web / interfaces.py  

Diff of /PEAK/src/peak/web/interfaces.py

Parent Directory | Revision Log

version 1847, Mon Oct 11 19:36:04 2004 UTC version 1848, Mon Oct 11 21:38:07 2004 UTC
Line 172 
Line 172 
         'security.IInteraction'.  There is no return value.          'security.IInteraction'.  There is no return value.
         """          """
   
       def findLocation(locationID,default=NOT_GIVEN):
           """Return a context for specified location, or 'default'
   
           'locationID' should be a property name.  It will be looked up in the
           context's target object's 'peak.web.locations' property namespace, and
           in the target object of each parent traversal context until the named
           location is found.
   
           If the named location is not found, return 'default'.  If 'default'
           is 'NOT_GIVEN', raise 'NotFound'.  Note: this method must *not* wrap
           'default' in a traversal context: checking for the returned default is
           the caller's responsibility."""
   
   
   
   
   


Generate output suitable for use with a patch program
Legend:
Removed from v.1847  
changed lines
  Added in v.1848

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help