[Zope3-checkins] CVS: Zope3/src/zope/app/publication - publicationtraverse.py:1.6 traversers.py:1.4 zopepublication.py:1.27
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:35:57 -0400
Update of /cvs-repository/Zope3/src/zope/app/publication
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/app/publication
Modified Files:
publicationtraverse.py traversers.py zopepublication.py
Log Message:
Importgeddon part the second. Removed unused imports throughout the
source tree. This should have taken care of most unused imports
in Zope 3. :)
=== Zope3/src/zope/app/publication/publicationtraverse.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/publication/publicationtraverse.py:1.5 Wed Apr 16 13:58:11 2003
+++ Zope3/src/zope/app/publication/publicationtraverse.py Thu May 1 15:35:26 2003
@@ -16,13 +16,12 @@
$Id$
"""
-from zope.component import queryView, getService
+from zope.component import queryView
from zope.publisher.interfaces import NotFound
from types import StringTypes
from zope.proxy.context import ContextWrapper
from zope.security.checker import ProxyFactory
-from zope.app.interfaces.container import IWriteContainer
from zope.proxy.introspection import removeAllProxies
from zope.app.traversing.namespace import namespaceLookup
from zope.app.traversing.namespace import parameterizedNameParse
=== Zope3/src/zope/app/publication/traversers.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/publication/traversers.py:1.3 Mon Jan 27 13:17:32 2003
+++ Zope3/src/zope/app/publication/traversers.py Thu May 1 15:35:26 2003
@@ -15,12 +15,10 @@
__metaclass__ = type
-
-from zope.publisher.interfaces import Unauthorized, NotFound, DebugError
+from zope.publisher.interfaces import Unauthorized, NotFound
from zope.publisher.interfaces.browser import IBrowserPublisher
from zope.publisher.interfaces.xmlrpc import IXMLRPCPublisher
from zope.component import queryView, getView, getDefaultViewName
-from zope.component.exceptions import ComponentLookupError
class SimpleComponentTraverser:
"""Browser traverser for simple components that can only traverse to views
=== Zope3/src/zope/app/publication/zopepublication.py 1.26 => 1.27 ===
--- Zope3/src/zope/app/publication/zopepublication.py:1.26 Fri Apr 25 06:35:18 2003
+++ Zope3/src/zope/app/publication/zopepublication.py Thu May 1 15:35:26 2003
@@ -14,9 +14,8 @@
import sys
import logging
-from zope.component import getService, queryView, queryDefaultViewName
+from zope.component import queryView, queryDefaultViewName
from zope.component import queryService, queryAdapter
-from zope.component.exceptions import ComponentLookupError
from zope.app.services.servicenames import ErrorLogging, Authentication
from zodb.interfaces import ConflictError
@@ -24,7 +23,7 @@
from zope.publisher.interfaces import Retry, IExceptionSideEffects
from zope.publisher.interfaces.http import IHTTPRequest
-from zope.security.management import getSecurityManager, newSecurityManager
+from zope.security.management import newSecurityManager
from zope.security.checker import ProxyFactory
from zope.proxy.introspection import removeAllProxies