[Zope3-checkins] SVN: Zope3/trunk/src/zope/publisher/base.py
	Changed to use NotFound
    Jim Fulton 
    jim at zope.com
       
    Tue Oct 26 18:59:34 EDT 2004
    
    
  
Log message for revision 28264:
  Changed to use NotFound
  
  This essentially indicates that the URL is bad.
  
Changed:
  U   Zope3/trunk/src/zope/publisher/base.py
-=-
Modified: Zope3/trunk/src/zope/publisher/base.py
===================================================================
--- Zope3/trunk/src/zope/publisher/base.py	2004-10-26 22:59:30 UTC (rev 28263)
+++ Zope3/trunk/src/zope/publisher/base.py	2004-10-26 22:59:33 UTC (rev 28264)
@@ -23,7 +23,7 @@
 
 from zope.interface import implements, providedBy
 from zope.interface.common.mapping import IReadMapping, IEnumerableMapping
-from zope.exceptions import NotFoundError
+from zope.publisher.interfaces import NotFound
 
 from zope.publisher.interfaces import IPublication
 from zope.publisher.interfaces import NotFound, DebugError, Unauthorized
@@ -406,7 +406,7 @@
                 try:
                     del clean[-1]
                 except IndexError:
-                    raise NotFoundError('..')
+                    raise NotFound('..')
             else: clean.append(item)
 
         clean.reverse()
    
    
More information about the Zope3-Checkins
mailing list