[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Publisher/Browser - Resources.py:1.2

Steve Alexander steve@cat-box.net
Fri, 14 Jun 2002 05:25:21 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/Publisher/Browser
In directory cvs.zope.org:/tmp/cvs-serv335/lib/python/Zope/App/Publisher/Browser

Modified Files:
	Resources.py 
Log Message:
the unit tests didn't cover the resourece not being found, so
the fact that NotFoundError wasn't imported into Resources.py went
unnoticed.

fixed unit test coverage, and error.


=== Zope3/lib/python/Zope/App/Publisher/Browser/Resources.py 1.1 => 1.2 ===
 from Zope.Proxy.ContextWrapper import ContextWrapper
 from Zope.ContextWrapper import ContextMethod
+from Zope.Exceptions import NotFoundError
 
 class Resources(BrowserView):
     """Provide a URL-accessible resource namespace