[Zope3-checkins]
SVN: Zope3/branches/srichter-blow-services/src/zope/app/
Removed redundant imports using 'importchecker.py'
Ivo van der Wijk
ivo at amaze.nl
Thu Jan 13 11:28:47 EST 2005
Log message for revision 28825:
Removed redundant imports using 'importchecker.py'
Changed:
U Zope3/branches/srichter-blow-services/src/zope/app/apidoc/classmodule/browser.py
U Zope3/branches/srichter-blow-services/src/zope/app/apidoc/ifacemodule/browser.py
U Zope3/branches/srichter-blow-services/src/zope/app/apidoc/ifacemodule/tests.py
U Zope3/branches/srichter-blow-services/src/zope/app/apidoc/utilitymodule/browser.py
U Zope3/branches/srichter-blow-services/src/zope/app/apidoc/utilitymodule/tests.py
U Zope3/branches/srichter-blow-services/src/zope/app/apidoc/viewmodule/tests.py
U Zope3/branches/srichter-blow-services/src/zope/app/apidoc/zcmlmodule/__init__.py
U Zope3/branches/srichter-blow-services/src/zope/app/applicationcontrol/browser/tests/test_servercontrolview.py
U Zope3/branches/srichter-blow-services/src/zope/app/cache/ram.py
U Zope3/branches/srichter-blow-services/src/zope/app/cache/tests/test_caching.py
U Zope3/branches/srichter-blow-services/src/zope/app/catalog/browser/catalog.py
U Zope3/branches/srichter-blow-services/src/zope/app/catalog/catalog.py
U Zope3/branches/srichter-blow-services/src/zope/app/component/__init__.py
U Zope3/branches/srichter-blow-services/src/zope/app/component/adapter.py
U Zope3/branches/srichter-blow-services/src/zope/app/component/browser/registration.py
U Zope3/branches/srichter-blow-services/src/zope/app/component/browser/tools.py
U Zope3/branches/srichter-blow-services/src/zope/app/component/contentdirective.py
U Zope3/branches/srichter-blow-services/src/zope/app/component/fields.py
U Zope3/branches/srichter-blow-services/src/zope/app/component/interfaces/registration.py
U Zope3/branches/srichter-blow-services/src/zope/app/component/metaconfigure.py
U Zope3/branches/srichter-blow-services/src/zope/app/component/site.py
U Zope3/branches/srichter-blow-services/src/zope/app/component/tests/test_adapter.py
U Zope3/branches/srichter-blow-services/src/zope/app/component/tests/test_directives.py
U Zope3/branches/srichter-blow-services/src/zope/app/container/browser/adding.py
U Zope3/branches/srichter-blow-services/src/zope/app/container/browser/ftests/test_contents.py
U Zope3/branches/srichter-blow-services/src/zope/app/container/browser/metaconfigure.py
U Zope3/branches/srichter-blow-services/src/zope/app/container/browser/tests/test_contents.py
U Zope3/branches/srichter-blow-services/src/zope/app/container/constraints.py
U Zope3/branches/srichter-blow-services/src/zope/app/container/contained.py
U Zope3/branches/srichter-blow-services/src/zope/app/container/interfaces.py
U Zope3/branches/srichter-blow-services/src/zope/app/container/tests/test_containertraverser.py
U Zope3/branches/srichter-blow-services/src/zope/app/container/tests/test_ordered.py
U Zope3/branches/srichter-blow-services/src/zope/app/container/traversal.py
U Zope3/branches/srichter-blow-services/src/zope/app/copypastemove/__init__.py
U Zope3/branches/srichter-blow-services/src/zope/app/copypastemove/tests/test_rename.py
U Zope3/branches/srichter-blow-services/src/zope/app/dav/ftests/test_propfind.py
U Zope3/branches/srichter-blow-services/src/zope/app/dav/ftests/test_proppatch.py
U Zope3/branches/srichter-blow-services/src/zope/app/dav/mkcol.py
U Zope3/branches/srichter-blow-services/src/zope/app/dav/tests/test_propfind.py
U Zope3/branches/srichter-blow-services/src/zope/app/demo/jobboard/browser.py
U Zope3/branches/srichter-blow-services/src/zope/app/demo/jobboard/job.py
U Zope3/branches/srichter-blow-services/src/zope/app/demo/pagelet/browser/views.py
U Zope3/branches/srichter-blow-services/src/zope/app/demo/pagelet/ftests.py
U Zope3/branches/srichter-blow-services/src/zope/app/demo/pageletchooser/adapters.py
U Zope3/branches/srichter-blow-services/src/zope/app/demo/pageletchooser/ftests.py
U Zope3/branches/srichter-blow-services/src/zope/app/dtmlpage/dtmlpage.py
U Zope3/branches/srichter-blow-services/src/zope/app/dublincore/tests/test_dcsv.py
U Zope3/branches/srichter-blow-services/src/zope/app/event/tests/placelesssetup.py
U Zope3/branches/srichter-blow-services/src/zope/app/event/tests/test_objectevent.py
U Zope3/branches/srichter-blow-services/src/zope/app/exception/browser/ftests.py
U Zope3/branches/srichter-blow-services/src/zope/app/exception/browser/tests/test_unauthorized.py
U Zope3/branches/srichter-blow-services/src/zope/app/externaleditor/browser/__init__.py
U Zope3/branches/srichter-blow-services/src/zope/app/file/browser/image.py
U Zope3/branches/srichter-blow-services/src/zope/app/file/file.py
U Zope3/branches/srichter-blow-services/src/zope/app/file/ftests/test_image.py
-=-
Modified: Zope3/branches/srichter-blow-services/src/zope/app/apidoc/classmodule/browser.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/apidoc/classmodule/browser.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/apidoc/classmodule/browser.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -16,8 +16,6 @@
$Id$
"""
__docformat__ = 'restructuredtext'
-import inspect
-import os
import re
from types import TypeType, ClassType, FunctionType, ModuleType
import xml.dom.minidom
@@ -27,7 +25,6 @@
from zope.configuration.config import ConfigurationContext
from zope.configuration.fields import GlobalObject, Tokens
from zope.app.traversing.interfaces import TraversalError
-from zope.interface import implementedBy
from zope.interface.interface import InterfaceClass
from zope.proxy import removeAllProxies
from zope.schema import getFieldsInOrder
Modified: Zope3/branches/srichter-blow-services/src/zope/app/apidoc/ifacemodule/browser.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/apidoc/ifacemodule/browser.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/apidoc/ifacemodule/browser.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -18,7 +18,6 @@
__docformat__ = 'restructuredtext'
from types import FunctionType, MethodType, ClassType, TypeType
-from zope.component import ComponentLookupError
from zope.component.site import AdapterRegistration
from zope.interface.declarations import providedBy
from zope.interface.interfaces import IMethod, IInterface
@@ -29,7 +28,6 @@
from zope.security.proxy import removeSecurityProxy
from zope.app import zapi
-from zope.app.i18n import ZopeMessageIDFactory as _
from zope.app.apidoc.utilities import getPythonPath, renderText
from zope.app.apidoc.classmodule import classRegistry
Modified: Zope3/branches/srichter-blow-services/src/zope/app/apidoc/ifacemodule/tests.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/apidoc/ifacemodule/tests.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/apidoc/ifacemodule/tests.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -25,7 +25,6 @@
from zope.schema import TextLine, Text
from zope.testing.doctestunit import DocTestSuite
-from zope.app import zapi
from zope.app.component.interface import provideInterface
from zope.app.location import LocationProxy
from zope.app.location.traversing import LocationPhysicallyLocatable
@@ -43,7 +42,6 @@
from zope.app.apidoc.classmodule import classRegistry
from zope.app.apidoc.ifacemodule import IInterfaceModule, InterfaceModule
-from zope.app.apidoc.ifacemodule.menu import IModule
from zope.app.apidoc.ifacemodule.browser import InterfaceDetails
from zope.app.apidoc.interfaces import IDocumentationModule
Modified: Zope3/branches/srichter-blow-services/src/zope/app/apidoc/utilitymodule/browser.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/apidoc/utilitymodule/browser.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/apidoc/utilitymodule/browser.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -17,7 +17,6 @@
"""
__docformat__ = 'restructuredtext'
-from types import InstanceType
from zope.app import zapi
from zope.app.location import LocationProxy
from zope.app.apidoc.ifacemodule.browser import InterfaceDetails
Modified: Zope3/branches/srichter-blow-services/src/zope/app/apidoc/utilitymodule/tests.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/apidoc/utilitymodule/tests.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/apidoc/utilitymodule/tests.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -17,7 +17,6 @@
"""
import unittest
-from zope.interface import implements
from zope.publisher.browser import TestRequest
from zope.testing.doctestunit import DocTestSuite
Modified: Zope3/branches/srichter-blow-services/src/zope/app/apidoc/viewmodule/tests.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/apidoc/viewmodule/tests.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/apidoc/viewmodule/tests.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -17,12 +17,11 @@
"""
import unittest
-from zope.interface import Interface, directlyProvides
+from zope.interface import Interface
from zope.publisher.interfaces.browser import IBrowserRequest
from zope.publisher.interfaces.browser import ISkin, ILayer, IDefaultSkin
from zope.testing.doctestunit import DocTestSuite
-from zope.app import zapi
from zope.app.testing import placelesssetup, ztapi
from zope.app.component.interface import provideInterface
Modified: Zope3/branches/srichter-blow-services/src/zope/app/apidoc/zcmlmodule/__init__.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/apidoc/zcmlmodule/__init__.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/apidoc/zcmlmodule/__init__.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -22,8 +22,6 @@
"""
__docformat__ = 'restructuredtext'
-import os
-
from zope.configuration import docutils, xmlconfig
from zope.interface import implements
Modified: Zope3/branches/srichter-blow-services/src/zope/app/applicationcontrol/browser/tests/test_servercontrolview.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/applicationcontrol/browser/tests/test_servercontrolview.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/applicationcontrol/browser/tests/test_servercontrolview.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -22,7 +22,6 @@
from zope.app.applicationcontrol.applicationcontrol import applicationController
from zope.app.applicationcontrol.browser.servercontrol import ServerControlView
from zope.app.applicationcontrol.interfaces import IServerControl
-from zope.app.servicenames import Utilities
from zope.app.component.testing import PlacefulSetup
class ServerControlStub(object):
Modified: Zope3/branches/srichter-blow-services/src/zope/app/cache/ram.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/cache/ram.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/cache/ram.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -23,7 +23,6 @@
from persistent import Persistent
from zope.interface import implements
-from zope.app import zapi
from zope.app.container.contained import Contained
from zope.app.cache.interfaces.ram import IRAMCache
Modified: Zope3/branches/srichter-blow-services/src/zope/app/cache/tests/test_caching.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/cache/tests/test_caching.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/cache/tests/test_caching.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -24,7 +24,7 @@
from zope.app.cache.interfaces import ICacheable, ICache
from zope.app.cache.caching import getCacheForObject
from zope.app.cache.annotationcacheable import AnnotationCacheable
-from zope.app.testing import ztapi, setup, placelesssetup
+from zope.app.testing import ztapi, placelesssetup
class ObjectStub(object):
implements(IAttributeAnnotatable)
Modified: Zope3/branches/srichter-blow-services/src/zope/app/catalog/browser/catalog.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/catalog/browser/catalog.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/catalog/browser/catalog.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -15,7 +15,6 @@
$Id$
"""
-from zope.app.container.browser.adding import Adding
from zope.app.catalog.interfaces import ICatalog
class Advanced:
Modified: Zope3/branches/srichter-blow-services/src/zope/app/catalog/catalog.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/catalog/catalog.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/catalog/catalog.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -15,10 +15,7 @@
$Id$
"""
-from persistent import Persistent
from zope.interface import implements
-from zope.app.zapi import getUtility
-from zope.security.proxy import removeSecurityProxy
from zope.app.container.btree import BTreeContainer
import zope.index.interfaces
Modified: Zope3/branches/srichter-blow-services/src/zope/app/component/__init__.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/component/__init__.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/component/__init__.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -22,7 +22,7 @@
##############################################################################
# BBB: Backward Compatiblity 12/23/2004
-import sys
+#import sys
import zope.app
#from zope.app.component.bbb import registration as bbb_registration
#sys.modules['zope.app.registration'] = bbb_registration
Modified: Zope3/branches/srichter-blow-services/src/zope/app/component/adapter.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/component/adapter.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/component/adapter.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -18,16 +18,11 @@
__docformat__ = 'restructuredtext'
import persistent
-import zope.component.adapter
import zope.interface
-import zope.schema
from zope.security.proxy import removeSecurityProxy
-import zope.app.container.contained
-from zope.app import zapi
from zope.app.component import registration
from zope.app.component import interfaces
-from zope.app.i18n import ZopeMessageIDFactory as _
class LocalSurrogate(zope.interface.adapter.Surrogate):
Modified: Zope3/branches/srichter-blow-services/src/zope/app/component/browser/registration.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/component/browser/registration.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/component/browser/registration.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -17,7 +17,6 @@
"""
import warnings
-from zope.interface import implements
from zope.security.proxy import removeSecurityProxy
from zope.app import zapi
@@ -25,7 +24,6 @@
from zope.app.container.interfaces import INameChooser
from zope.app.form.browser.widget import SimpleInputWidget
from zope.app.i18n import ZopeMessageIDFactory as _
-from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
from zope.app.publisher.browser import BrowserView
from zope.app.component import interfaces
from zope.app.component.interfaces.registration import ActiveStatus
Modified: Zope3/branches/srichter-blow-services/src/zope/app/component/browser/tools.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/component/browser/tools.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/component/browser/tools.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -17,7 +17,6 @@
"""
import zope.interface
import zope.event
-from zope.component.interfaces import IFactory
from zope.app import zapi
from zope.app.component import site, interfaces
Modified: Zope3/branches/srichter-blow-services/src/zope/app/component/contentdirective.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/component/contentdirective.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/component/contentdirective.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -24,7 +24,6 @@
from zope.schema.interfaces import IField
from zope.configuration.exceptions import ConfigurationError
-from zope.app import zapi
from zope.app.annotation.interfaces import IAttributeAnnotatable
from zope.app.component.interface import provideInterface
from zope.app.component.interfaces import ILocalUtility
@@ -32,7 +31,7 @@
from zope.app.security.protectclass import protectLikeUnto, protectName
from zope.app.security.protectclass import protectSetAttribute
-from metaconfigure import factory, handler
+from metaconfigure import factory
PublicPermission = 'zope.Public'
Modified: Zope3/branches/srichter-blow-services/src/zope/app/component/fields.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/component/fields.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/component/fields.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -21,7 +21,6 @@
from zope.component.exceptions import ComponentLookupError
from zope.configuration.exceptions import ConfigurationError
from zope.configuration.fields import GlobalObject
-from zope.interface.interfaces import IInterface
from zope.publisher.interfaces.browser import ILayer
from zope.app import zapi
Modified: Zope3/branches/srichter-blow-services/src/zope/app/component/interfaces/registration.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/component/interfaces/registration.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/component/interfaces/registration.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -17,10 +17,9 @@
"""
import zope.component.interfaces
from zope.interface import Interface, Attribute, implements
-from zope.schema import TextLine, Field, Choice, Dict
-from zope.schema.interfaces import ITextLine, IField
+from zope.schema import Field, Choice
+from zope.schema.interfaces import IField
-from zope.app.annotation.interfaces import IAnnotatable
from zope.app.annotation.interfaces import IAttributeAnnotatable
from zope.app.container.interfaces import IContainerNamesContainer
from zope.app.container.interfaces import IContained, IContainer
Modified: Zope3/branches/srichter-blow-services/src/zope/app/component/metaconfigure.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/component/metaconfigure.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/component/metaconfigure.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -24,10 +24,9 @@
from zope.security.checker import InterfaceChecker, CheckerPublic
from zope.security.checker import Checker, NamesChecker
-from zope.security.proxy import Proxy, ProxyFactory
+from zope.security.proxy import Proxy
from zope.app import zapi
-from zope.app.component.interface import queryInterface
from zope.app.security.adapter import TrustedAdapterFactory
PublicPermission = 'zope.Public'
Modified: Zope3/branches/srichter-blow-services/src/zope/app/component/site.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/component/site.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/component/site.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -24,7 +24,6 @@
$Id$
"""
-import sys
import zope.event
import zope.interface
@@ -38,9 +37,7 @@
from zope.app.component import registration
from zope.app.component.hooks import setSite
from zope.app.container.btree import BTreeContainer
-from zope.app.container.constraints import ItemTypePrecondition
from zope.app.container.contained import Contained
-from zope.app.container.interfaces import IContainer
from zope.app.event import objectevent
from zope.app.filerepresentation.interfaces import IDirectoryFactory
from zope.app.traversing.interfaces import IContainmentRoot
Modified: Zope3/branches/srichter-blow-services/src/zope/app/component/tests/test_adapter.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/component/tests/test_adapter.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/component/tests/test_adapter.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -25,7 +25,6 @@
from zope.interface.adapter import AdapterRegistry
from zope.testing import doctest
-from zope.app import zapi
from zope.app.component import interfaces
from zope.app.component.adapter import LocalAdapterRegistry, AdapterRegistration
from zope.app.testing import setup
Modified: Zope3/branches/srichter-blow-services/src/zope/app/component/tests/test_directives.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/component/tests/test_directives.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/component/tests/test_directives.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -41,7 +41,7 @@
from zope.app import zapi
from zope.app.testing.placelesssetup import PlacelessSetup
from zope.app.component.metaconfigure import interface
-from zope.app.component.tests.views import IV, IC, V1, VZMI, R1, RZMI, IR
+from zope.app.component.tests.views import IV, IC, V1, R1, IR
from zope.app.content.interfaces import IContentType
from zope.app.component.interface import queryInterface
Modified: Zope3/branches/srichter-blow-services/src/zope/app/container/browser/adding.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/container/browser/adding.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/container/browser/adding.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -24,7 +24,6 @@
import zope.security.checker
from zope.component.interfaces import IFactory
from zope.event import notify
-from zope.i18n import translate
from zope.interface import implements
from zope.publisher.interfaces import IPublishTraverse
from zope.security.proxy import removeSecurityProxy
Modified: Zope3/branches/srichter-blow-services/src/zope/app/container/browser/ftests/test_contents.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/container/browser/ftests/test_contents.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/container/browser/ftests/test_contents.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -22,7 +22,6 @@
from transaction import get_transaction
from zope.interface import implements
-from zope.app import zapi
from zope.app.annotation.interfaces import IAttributeAnnotatable
from zope.app.container.interfaces import IReadContainer, IContained
from zope.app.dublincore.interfaces import IZopeDublinCore
Modified: Zope3/branches/srichter-blow-services/src/zope/app/container/browser/metaconfigure.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/container/browser/metaconfigure.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/container/browser/metaconfigure.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -19,7 +19,6 @@
from zope.interface import Interface
from zope.configuration.fields import GlobalInterface
-from zope.schema import Id
from zope.app.publisher.browser.viewmeta import page, view
from zope.app.container.browser.contents import Contents
from zope.app.container.browser.adding import Adding
Modified: Zope3/branches/srichter-blow-services/src/zope/app/container/browser/tests/test_contents.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/container/browser/tests/test_contents.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/container/browser/tests/test_contents.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -22,7 +22,6 @@
from zope.app.annotation.interfaces import IAnnotations
from zope.app.component.testing import PlacefulSetup
from zope.app.container.contained import contained
-from zope.app.container.interfaces import IObjectRemovedEvent
from zope.app.copypastemove import ObjectMover, ObjectCopier
from zope.app.copypastemove import PrincipalClipboard
from zope.app.copypastemove.interfaces import IObjectMover, IObjectCopier
Modified: Zope3/branches/srichter-blow-services/src/zope/app/container/constraints.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/container/constraints.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/container/constraints.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -153,7 +153,6 @@
import sys
-import zope.interface.advice
import zope.schema
from zope.interface import providedBy
Modified: Zope3/branches/srichter-blow-services/src/zope/app/container/contained.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/container/contained.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/container/contained.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -30,7 +30,7 @@
from zope.app.event.objectevent import ObjectEvent, modified
from zope.event import notify
from zope.app.i18n import ZopeMessageIDFactory as _
-from zope.app.container.interfaces import IContained, IReadContainer
+from zope.app.container.interfaces import IContained
from zope.app.container.interfaces import INameChooser
from zope.app.container.interfaces import IObjectAddedEvent
from zope.app.container.interfaces import IObjectMovedEvent
Modified: Zope3/branches/srichter-blow-services/src/zope/app/container/interfaces.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/container/interfaces.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/container/interfaces.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -17,7 +17,7 @@
"""
__docformat__ = 'restructuredtext'
-from zope.interface import Interface, Attribute, implements, Invalid
+from zope.interface import Interface, Attribute, Invalid
from zope.component.interfaces import IView
from zope.interface.common.mapping import IItemMapping
from zope.interface.common.mapping import IReadMapping, IEnumerableMapping
Modified: Zope3/branches/srichter-blow-services/src/zope/app/container/tests/test_containertraverser.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/container/tests/test_containertraverser.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/container/tests/test_containertraverser.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -22,7 +22,6 @@
from zope.publisher.interfaces import NotFound
from zope.publisher.browser import TestRequest
from zope.interface import implements
-from zope.publisher.interfaces.browser import IBrowserRequest
class TestContainer(object):
implements(IReadContainer)
Modified: Zope3/branches/srichter-blow-services/src/zope/app/container/tests/test_ordered.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/container/tests/test_ordered.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/container/tests/test_ordered.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -18,7 +18,6 @@
import unittest
from zope.testing.doctestunit import DocTestSuite
-from zope.interface import Interface
from zope.app.testing import placelesssetup
def test_suite():
Modified: Zope3/branches/srichter-blow-services/src/zope/app/container/traversal.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/container/traversal.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/container/traversal.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -27,7 +27,6 @@
from zope.app.container.interfaces import ISimpleReadContainer, IItemContainer
from zope.app.container.interfaces import IReadContainer
from zope.app.traversing.interfaces import ITraversable
-from zope.app.traversing.namespace import UnexpectedParameters
# Note that the next two classes are included here because they
# can be used for multiple view types.
Modified: Zope3/branches/srichter-blow-services/src/zope/app/copypastemove/__init__.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/copypastemove/__init__.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/copypastemove/__init__.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -20,7 +20,6 @@
from zope.interface import implements, Invalid
from zope.exceptions import NotFoundError, DuplicationError
-from zope.app import zapi
from zope.app.container.sample import SampleContainer
from zope.event import notify
from zope.app.event.objectevent import ObjectCopiedEvent
Modified: Zope3/branches/srichter-blow-services/src/zope/app/copypastemove/tests/test_rename.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/copypastemove/tests/test_rename.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/copypastemove/tests/test_rename.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -15,7 +15,7 @@
$Id$
"""
-from unittest import TestCase, TestSuite, main, makeSuite
+from unittest import TestCase, main, makeSuite
from zope.testing.doctestunit import DocTestSuite
from zope.app.testing.placelesssetup import setUp, tearDown
@@ -24,7 +24,6 @@
from zope.exceptions import NotFoundError, DuplicationError
from zope.app.traversing.api import traverse
from zope.app.component.testing import PlacefulSetup
-from zope.app.container.interfaces import IContainer
from zope.app.copypastemove.interfaces import IObjectMover
from zope.app.copypastemove import ObjectMover
from zope.app.copypastemove import rename
Modified: Zope3/branches/srichter-blow-services/src/zope/app/dav/ftests/test_propfind.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/dav/ftests/test_propfind.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/dav/ftests/test_propfind.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -20,7 +20,6 @@
import transaction
from zope.pagetemplate.tests.util import normalize_xml
-from zope.app import zapi
from zope.app.dav.ftests.dav import DAVTestCase
from zope.app.dublincore.interfaces import IZopeDublinCore
from zope.app.dav.opaquenamespaces import IDAVOpaqueNamespaces
Modified: Zope3/branches/srichter-blow-services/src/zope/app/dav/ftests/test_proppatch.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/dav/ftests/test_proppatch.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/dav/ftests/test_proppatch.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -20,7 +20,6 @@
from zope.pagetemplate.tests.util import normalize_xml
from zope.publisher.http import status_reasons
-from zope.app import zapi
from zope.app.dav.ftests.dav import DAVTestCase
from zope.app.dublincore.interfaces import IZopeDublinCore
from zope.app.dav.opaquenamespaces import IDAVOpaqueNamespaces
Modified: Zope3/branches/srichter-blow-services/src/zope/app/dav/mkcol.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/dav/mkcol.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/dav/mkcol.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -15,7 +15,6 @@
"""
__docformat__ = 'restructuredtext'
-from zope.app import zapi
from zope.app.filerepresentation.interfaces import IWriteDirectory
from zope.app.filerepresentation.interfaces import IDirectoryFactory
from zope.event import notify
Modified: Zope3/branches/srichter-blow-services/src/zope/app/dav/tests/test_propfind.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/dav/tests/test_propfind.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/dav/tests/test_propfind.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -20,9 +20,8 @@
from unittest import TestCase, TestSuite, main, makeSuite
from datetime import datetime
-from zope.interface import Interface, implements, directlyProvides
+from zope.interface import Interface, directlyProvides
from zope.publisher.interfaces.http import IHTTPRequest
-from zope.publisher.http import status_reasons
from zope.pagetemplate.tests.util import normalize_xml
from zope.schema import getFieldNamesInOrder
@@ -51,9 +50,7 @@
from unitfixtures import File, Folder, FooZPT
-import zope.app.location
-
def _createRequest(body=None, headers=None, skip_headers=None):
if body is None:
body = '''<?xml version="1.0" encoding="utf-8"?>
Modified: Zope3/branches/srichter-blow-services/src/zope/app/demo/jobboard/browser.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/demo/jobboard/browser.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/demo/jobboard/browser.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -20,7 +20,7 @@
from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
from zope.app.publisher.browser import BrowserView
from zope.event import notify
-from zope.app.event.objectevent import ObjectCreatedEvent, ObjectModifiedEvent
+from zope.app.event.objectevent import ObjectModifiedEvent
from job import Job
Modified: Zope3/branches/srichter-blow-services/src/zope/app/demo/jobboard/job.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/demo/jobboard/job.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/demo/jobboard/job.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -61,8 +61,6 @@
from persistent.dict import PersistentDict
-from zope.event import notify
-from zope.app.event.objectevent import ObjectCreatedEvent
class JobList(Persistent):
""" the Joblist class manages the creation, deletion of job list and
Modified: Zope3/branches/srichter-blow-services/src/zope/app/demo/pagelet/browser/views.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/demo/pagelet/browser/views.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/demo/pagelet/browser/views.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -13,18 +13,14 @@
##############################################################################
"""Pagelet Demo
-$Id:$
+$Id$
"""
__docformat__ = 'restructuredtext'
-from persistent import Persistent
-import zope.interface
-
from zope.interface import implements
from zope.app.publisher.browser import BrowserView
-from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
from zope.app.pagelet.interfaces import IPageData
from zope.app.demo.pagelet.interfaces import IPageletContent
Modified: Zope3/branches/srichter-blow-services/src/zope/app/demo/pagelet/ftests.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/demo/pagelet/ftests.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/demo/pagelet/ftests.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -16,7 +16,6 @@
$Id$
"""
import unittest
-from zope.publisher.interfaces import NotFound
from zope.app.testing.functional import BrowserTestCase
Modified: Zope3/branches/srichter-blow-services/src/zope/app/demo/pageletchooser/adapters.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/demo/pageletchooser/adapters.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/demo/pageletchooser/adapters.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -17,15 +17,10 @@
"""
__docformat__ = 'restructuredtext'
-from persistent.dict import PersistentDict
from zope.interface import implements
from zope.interface import directlyProvides
-from zope.app import zapi
-
-from zope.app.annotation.interfaces import IAnnotations
-
from zope.app.pageletchooser.interfaces import IAnnotatableMappingAdapter
from zope.app.pageletchooser.interfaces import IPageletNameManager
Modified: Zope3/branches/srichter-blow-services/src/zope/app/demo/pageletchooser/ftests.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/demo/pageletchooser/ftests.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/demo/pageletchooser/ftests.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -16,7 +16,6 @@
$Id$
"""
import unittest
-from zope.publisher.interfaces import NotFound
from zope.app.testing.functional import BrowserTestCase
Modified: Zope3/branches/srichter-blow-services/src/zope/app/dtmlpage/dtmlpage.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/dtmlpage/dtmlpage.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/dtmlpage/dtmlpage.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -19,7 +19,6 @@
from persistent import Persistent
-from zope.security.proxy import ProxyFactory
from zope.documenttemplate.untrusted import UntrustedHTML
from zope.interface import implements
Modified: Zope3/branches/srichter-blow-services/src/zope/app/dublincore/tests/test_dcsv.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/dublincore/tests/test_dcsv.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/dublincore/tests/test_dcsv.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -18,7 +18,7 @@
import unittest
from zope.testing.doctestunit import DocTestSuite
-from zope.app.dublincore.dcsv import encode, decode, createMapping
+from zope.app.dublincore.dcsv import encode, decode
# XXX still need tests for errors, and createMapping()
Modified: Zope3/branches/srichter-blow-services/src/zope/app/event/tests/placelesssetup.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/event/tests/placelesssetup.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/event/tests/placelesssetup.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -15,7 +15,6 @@
$Id$
"""
-from zope.interface import implements
from zope.app.event.interfaces import IObjectEvent
from zope.app.event.objectevent import objectEventNotify
Modified: Zope3/branches/srichter-blow-services/src/zope/app/event/tests/test_objectevent.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/event/tests/test_objectevent.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/event/tests/test_objectevent.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -16,9 +16,7 @@
$Id$
"""
import unittest
-import doctest
-from zope.interface import implements
from zope.app.event.objectevent import ObjectModifiedEvent
from zope.app.event.objectevent import ObjectAnnotationsModifiedEvent
from zope.app.event.objectevent import ObjectContentModifiedEvent
Modified: Zope3/branches/srichter-blow-services/src/zope/app/exception/browser/ftests.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/exception/browser/ftests.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/exception/browser/ftests.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -16,7 +16,6 @@
$Id: ftests.py 25177 2004-06-02 13:17:31Z jim $
"""
import unittest
-from zope.publisher.interfaces import NotFound
from zope.app.testing import functional
class TestNotFound(functional.BrowserTestCase):
Modified: Zope3/branches/srichter-blow-services/src/zope/app/exception/browser/tests/test_unauthorized.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/exception/browser/tests/test_unauthorized.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/exception/browser/tests/test_unauthorized.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -18,10 +18,8 @@
from unittest import TestCase, main, makeSuite
from zope.interface import implements
from zope.publisher.browser import TestRequest
-from zope.app import zapi
from zope.app.testing import ztapi
from zope.app.security.interfaces import IAuthenticationUtility, IPrincipal
-from zope.app.container.contained import contained
from zope.app.exception.browser.unauthorized import Unauthorized
from zope.app.testing.placelesssetup import PlacelessSetup
Modified: Zope3/branches/srichter-blow-services/src/zope/app/externaleditor/browser/__init__.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/externaleditor/browser/__init__.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/externaleditor/browser/__init__.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -17,7 +17,7 @@
from zope.app import zapi
from zope.app.publisher.browser import BrowserView
-from zope.app.filerepresentation.interfaces import IReadFile, IWriteFile
+from zope.app.filerepresentation.interfaces import IReadFile
from zope.app.interface import queryType
from zope.app.content.interfaces import IContentType
from zope.security.proxy import removeSecurityProxy
Modified: Zope3/branches/srichter-blow-services/src/zope/app/file/browser/image.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/file/browser/image.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/file/browser/image.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -17,7 +17,6 @@
"""
__docformat__ = 'restructuredtext'
-from zope.app.size import byteDisplay
from zope.app.size.interfaces import ISized
class ImageData(object):
Modified: Zope3/branches/srichter-blow-services/src/zope/app/file/file.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/file/file.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/file/file.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -21,7 +21,6 @@
from transaction import get_transaction
from zope.interface import implements
-from zope.publisher.browser import FileUpload
from interfaces import IFile, IFileContent
# set the size of the chunks
Modified: Zope3/branches/srichter-blow-services/src/zope/app/file/ftests/test_image.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/file/ftests/test_image.py 2005-01-13 15:59:40 UTC (rev 28824)
+++ Zope3/branches/srichter-blow-services/src/zope/app/file/ftests/test_image.py 2005-01-13 16:28:47 UTC (rev 28825)
@@ -18,12 +18,9 @@
import unittest
import cgi
from cStringIO import StringIO
-from transaction import get_transaction
from zope.app.testing.functional import BrowserTestCase
from zope.publisher.browser import FileUpload
-from zope.app.file.image import Image
-
zptlogo = (
'GIF89a\x10\x00\x10\x00\xd5\x00\x00\xff\xff\xff\xff\xff\xfe\xfc\xfd\xfd'
'\xfa\xfb\xfc\xf7\xf9\xfa\xf5\xf8\xf9\xf3\xf6\xf8\xf2\xf5\xf7\xf0\xf4\xf6'
More information about the Zope3-Checkins
mailing list