[Zope3-checkins] SVN: Zope3/trunk/src/zope/ removed unused imports.
Florent Xicluna
laxyf at yahoo.fr
Sun Oct 8 09:33:59 EDT 2006
Log message for revision 70575:
removed unused imports.
Changed:
U Zope3/trunk/src/zope/component/globalregistry.py
U Zope3/trunk/src/zope/configuration/config.py
U Zope3/trunk/src/zope/deferredimport/deferredmodule.py
U Zope3/trunk/src/zope/index/field/index.py
U Zope3/trunk/src/zope/index/text/cosineindex.py
U Zope3/trunk/src/zope/interface/declarations.py
-=-
Modified: Zope3/trunk/src/zope/component/globalregistry.py
===================================================================
--- Zope3/trunk/src/zope/component/globalregistry.py 2006-10-08 13:01:01 UTC (rev 70574)
+++ Zope3/trunk/src/zope/component/globalregistry.py 2006-10-08 13:33:58 UTC (rev 70575)
@@ -15,14 +15,12 @@
$Id$
"""
-import types
from zope.interface import implements
from zope.interface.adapter import AdapterRegistry
-from zope.deprecation.deprecation import deprecate, deprecated
+from zope.deprecation.deprecation import deprecate
from zope.component.registry import Components
from zope.component.interfaces import Invalid, IComponentLookup, IRegistry
from zope.component.interfaces import ComponentLookupError
-from zope.interface.interfaces import ISpecification
def GAR(components, registryName):
return getattr(components, registryName)
Modified: Zope3/trunk/src/zope/configuration/config.py
===================================================================
--- Zope3/trunk/src/zope/configuration/config.py 2006-10-08 13:01:01 UTC (rev 70574)
+++ Zope3/trunk/src/zope/configuration/config.py 2006-10-08 13:33:58 UTC (rev 70575)
@@ -30,9 +30,7 @@
from zope.configuration.interfaces import IConfigurationContext
from zope.configuration.interfaces import IGroupingContext
from zope.interface.adapter import AdapterRegistry
-from zope.interface import Interface, implements, directlyProvides, providedBy
-from zope.interface.interfaces import IInterface
-from zope.schema.interfaces import WrongType
+from zope.interface import Interface, implements, providedBy
from zope.configuration import fields
Modified: Zope3/trunk/src/zope/deferredimport/deferredmodule.py
===================================================================
--- Zope3/trunk/src/zope/deferredimport/deferredmodule.py 2006-10-08 13:01:01 UTC (rev 70574)
+++ Zope3/trunk/src/zope/deferredimport/deferredmodule.py 2006-10-08 13:33:58 UTC (rev 70575)
@@ -15,7 +15,6 @@
$Id$
"""
-import types
import sys
import warnings
import zope.proxy
Modified: Zope3/trunk/src/zope/index/field/index.py
===================================================================
--- Zope3/trunk/src/zope/index/field/index.py 2006-10-08 13:01:01 UTC (rev 70574)
+++ Zope3/trunk/src/zope/index/field/index.py 2006-10-08 13:33:58 UTC (rev 70575)
@@ -19,7 +19,7 @@
from BTrees.IOBTree import IOBTree
from BTrees.OOBTree import OOBTree
-from BTrees.IFBTree import IFTreeSet, IFSet, multiunion
+from BTrees.IFBTree import IFTreeSet, multiunion
from BTrees.Length import Length
import zope.interface
Modified: Zope3/trunk/src/zope/index/text/cosineindex.py
===================================================================
--- Zope3/trunk/src/zope/index/text/cosineindex.py 2006-10-08 13:01:01 UTC (rev 70574)
+++ Zope3/trunk/src/zope/index/text/cosineindex.py 2006-10-08 13:33:58 UTC (rev 70575)
@@ -18,7 +18,6 @@
import math
from BTrees.IFBTree import IFBucket
-from zope.interface import implements
from zope.index.text.baseindex import BaseIndex, inverse_doc_frequency
Modified: Zope3/trunk/src/zope/interface/declarations.py
===================================================================
--- Zope3/trunk/src/zope/interface/declarations.py 2006-10-08 13:01:01 UTC (rev 70574)
+++ Zope3/trunk/src/zope/interface/declarations.py 2006-10-08 13:33:58 UTC (rev 70575)
@@ -29,7 +29,6 @@
__docformat__ = 'restructuredtext'
import sys
-import types
import weakref
from zope.interface.interface import InterfaceClass, Specification
from ro import mergeOrderings, ro
More information about the Zope3-Checkins
mailing list