[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser - i18nfileresource.py:1.4 i18nresourcemeta.py:1.8 metaconfigure.py:1.7 viewmeta.py:1.22
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:35:59 -0400
Update of /cvs-repository/Zope3/src/zope/app/publisher/browser
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/app/publisher/browser
Modified Files:
i18nfileresource.py i18nresourcemeta.py metaconfigure.py
viewmeta.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/publisher/browser/i18nfileresource.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/publisher/browser/i18nfileresource.py:1.3 Mon Dec 30 21:52:01 2002
+++ Zope3/src/zope/app/publisher/browser/i18nfileresource.py Thu May 1 15:35:27 2003
@@ -21,8 +21,6 @@
from zope.publisher.interfaces.browser import IBrowserResource
from zope.publisher.interfaces.browser import IBrowserPublisher
-from zope.app.publisher.fileresource import File, Image
-
from zope.app.publisher.browser.fileresource import FileResource
from zope.i18n.negotiator import negotiator
=== Zope3/src/zope/app/publisher/browser/i18nresourcemeta.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/publisher/browser/i18nresourcemeta.py:1.7 Fri Apr 18 18:12:27 2003
+++ Zope3/src/zope/app/publisher/browser/i18nresourcemeta.py Thu May 1 15:35:27 2003
@@ -18,8 +18,7 @@
from zope.interface import classProvides
from zope.security.proxy import Proxy
-from zope.security.checker \
- import CheckerPublic, NamesChecker, Checker
+from zope.security.checker import CheckerPublic, Checker
from zope.configuration.interfaces import ISubdirectiveHandler
from zope.configuration.interfaces import INonEmptyDirective
=== Zope3/src/zope/app/publisher/browser/metaconfigure.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/publisher/browser/metaconfigure.py:1.6 Wed Apr 9 16:51:32 2003
+++ Zope3/src/zope/app/publisher/browser/metaconfigure.py Thu May 1 15:35:27 2003
@@ -22,12 +22,14 @@
from zope.app.services.servicenames import Interfaces
from zope.app.component.metaconfigure \
- import defaultView as _defaultView, skin as _skin, handler, resolveInterface
+ import defaultView as _defaultView, skin as _skin, \
+ handler, resolveInterface
+# referred to through ZCML
from zope.app.publisher.browser.resourcemeta import resource
from zope.app.publisher.browser.i18nresourcemeta import I18nResource
+
from zope.app.publisher.browser.viewmeta import view
-from zope.interface import Interface
def skin(_context, **__kw):
return _skin(_context,
=== Zope3/src/zope/app/publisher/browser/viewmeta.py 1.21 => 1.22 ===
--- Zope3/src/zope/app/publisher/browser/viewmeta.py:1.21 Fri Apr 18 18:12:27 2003
+++ Zope3/src/zope/app/publisher/browser/viewmeta.py Thu May 1 15:35:27 2003
@@ -21,12 +21,10 @@
from zope.interface.implements import implements
from zope.publisher.interfaces.browser import IBrowserPublisher
-from zope.publisher.interfaces.browser import IBrowserView
from zope.exceptions import NotFoundError
-from zope.security.proxy import Proxy
-from zope.security.checker import CheckerPublic, NamesChecker, Checker
+from zope.security.checker import CheckerPublic, Checker
from zope.security.checker import defineChecker
from zope.configuration.interfaces import INonEmptyDirective