Author: jmorliaguet
Date: Sun Nov 13 10:45:14 2005
New Revision: 29481

Modified:
   z3lab/cpsskins/branches/jmo-perspectives/browser/rendering/engine.py
   z3lab/cpsskins/branches/jmo-perspectives/browser/tree/slot.py
   z3lab/cpsskins/branches/jmo-perspectives/configuration/accesskeys/__init__.py
   
z3lab/cpsskins/branches/jmo-perspectives/configuration/accesskeys/metaconfigure.py
   
z3lab/cpsskins/branches/jmo-perspectives/configuration/perspectives/perspective.py
   
z3lab/cpsskins/branches/jmo-perspectives/configuration/renderers/metaconfigure.py
   
z3lab/cpsskins/branches/jmo-perspectives/configuration/widgets/metaconfigure.py
   z3lab/cpsskins/branches/jmo-perspectives/elements/__init__.py
   z3lab/cpsskins/branches/jmo-perspectives/elements/display.py
   z3lab/cpsskins/branches/jmo-perspectives/elements/format.py
   z3lab/cpsskins/branches/jmo-perspectives/elements/portlet.py
   z3lab/cpsskins/branches/jmo-perspectives/elements/theme.py
   
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/effect/__init__.py
   
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/widget/__init__.py
   z3lab/cpsskins/branches/jmo-perspectives/engines/default/formats/layout.py
   z3lab/cpsskins/branches/jmo-perspectives/engines/default/formats/style.py
   z3lab/cpsskins/branches/jmo-perspectives/ontology.py
   z3lab/cpsskins/branches/jmo-perspectives/perspectives/__init__.py
   z3lab/cpsskins/branches/jmo-perspectives/resources/manager.py
   z3lab/cpsskins/branches/jmo-perspectives/tests/test_portlets.py
   z3lab/cpsskins/branches/jmo-perspectives/thememanager.py
Log:

- removed unused imports



Modified: z3lab/cpsskins/branches/jmo-perspectives/browser/rendering/engine.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/rendering/engine.py        
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/rendering/engine.py        
Sun Nov 13 10:45:14 2005
@@ -18,7 +18,6 @@
 __docformat__ = "reStructuredText"
 
 from zope.app import zapi
-from zope.app.pagetemplate import ViewPageTemplateFile
 from zope.app.publisher.browser import BrowserView
 from zope.app.traversing.api import getParent
 from zope.app.zapi import getMultiAdapter, queryMultiAdapter
@@ -31,7 +30,6 @@
 from cpsskins.configuration.interfaces import IRegistry
 from cpsskins.elements.interfaces import IType
 from cpsskins.elements.interfaces import IElement, ILeaf, ISlot, IDisplayable
-from cpsskins.relations.interfaces import IPredicate
 from cpsskins.storage.interfaces import IRelationStorage
 from interfaces import IUpdateData, IViewer, IRendererView, IFilterView
 from interfaces import IContextInfo

Modified: z3lab/cpsskins/branches/jmo-perspectives/browser/tree/slot.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/tree/slot.py       
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/tree/slot.py       Sun Nov 
13 10:45:14 2005
@@ -33,7 +33,6 @@
 from cpsskins.storage.interfaces import IPortletStorage, IRelationStorage
 from interfaces import INodeAdding, INodeRemoving, INodeOrdering, INodeMoving
 from interfaces import INodeDuplicating
-from cpsskins.relations.tool import RelationTool
 
 class SlotAdding(Adding):
     """A view for adding elements into slots

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/configuration/accesskeys/__init__.py
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/configuration/accesskeys/__init__.py   
    (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/configuration/accesskeys/__init__.py   
    Sun Nov 13 10:45:14 2005
@@ -18,7 +18,6 @@
 __docformat__ = "reStructuredText"
 
 from zope.component import provideUtility
-from zope.interface import implements
 
 from cpsskins.configuration import ConfigurationRegistry
 from cpsskins.configuration.interfaces import IRegistry

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/configuration/accesskeys/metaconfigure.py
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/configuration/accesskeys/metaconfigure.py
  (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/configuration/accesskeys/metaconfigure.py
  Sun Nov 13 10:45:14 2005
@@ -19,7 +19,6 @@
 
 from zope.component import getUtility
 from zope.configuration.exceptions import ConfigurationError
-from zope.i18nmessageid import MessageFactory
 
 from cpsskins.configuration.interfaces import IRegistry
 

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/configuration/perspectives/perspective.py
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/configuration/perspectives/perspective.py
  (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/configuration/perspectives/perspective.py
  Sun Nov 13 10:45:14 2005
@@ -20,7 +20,6 @@
 
 from zope.component import adapts
 from zope.interface import implements, Interface, Attribute
-from zope.schema import DottedName, TextLine
 
 from persistent import Persistent
 from zope.app.container.contained import Contained

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/configuration/renderers/metaconfigure.py
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/configuration/renderers/metaconfigure.py
   (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/configuration/renderers/metaconfigure.py
   Sun Nov 13 10:45:14 2005
@@ -18,7 +18,7 @@
 __docformat__ = "reStructuredText"
 
 from zope.app.component.metaconfigure import adapter
-from zope.component import provideUtility, queryUtility
+from zope.component import provideUtility
 from zope.configuration.exceptions import ConfigurationError
 from zope.i18nmessageid import MessageFactory
 from zope.publisher.interfaces.browser import IBrowserRequest

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/configuration/widgets/metaconfigure.py
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/configuration/widgets/metaconfigure.py 
    (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/configuration/widgets/metaconfigure.py 
    Sun Nov 13 10:45:14 2005
@@ -18,7 +18,7 @@
 __docformat__ = "reStructuredText"
 
 from zope.app.component.metaconfigure import adapter
-from zope.component import queryUtility, provideUtility
+from zope.component import provideUtility
 from zope.configuration.exceptions import ConfigurationError
 from zope.i18nmessageid import MessageFactory
 from zope.publisher.interfaces.browser import IBrowserRequest

Modified: z3lab/cpsskins/branches/jmo-perspectives/elements/__init__.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/elements/__init__.py       
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/elements/__init__.py       Sun Nov 
13 10:45:14 2005
@@ -26,7 +26,6 @@
 from zope.app.traversing.interfaces import IPathAdapter
 from zope.component import adapts
 from zope.interface import implements
-from zope.app.content.interfaces import IContentType
 
 from interfaces import IElement, IElementType, IType
 from interfaces import INode, IInnerNode, ILeaf, INodeTraverser

Modified: z3lab/cpsskins/branches/jmo-perspectives/elements/display.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/elements/display.py        
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/elements/display.py        Sun Nov 
13 10:45:14 2005
@@ -17,7 +17,6 @@
 """
 __docformat__ = "reStructuredText"
 
-from zope.app import zapi
 from zope.app.interface import queryType
 from zope.app.location.pickling import locationCopy
 from zope.app.traversing.interfaces import IPathAdapter

Modified: z3lab/cpsskins/branches/jmo-perspectives/elements/format.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/elements/format.py (original)
+++ z3lab/cpsskins/branches/jmo-perspectives/elements/format.py Sun Nov 13 
10:45:14 2005
@@ -19,7 +19,6 @@
 
 from zope.app.location.pickling import locationCopy
 from zope.app.traversing.interfaces import IPathAdapter, ITraversable
-from zope.app.traversing.interfaces import TraversalError
 from zope.component import getUtility, queryUtility
 from zope.interface import implements
 from zope.security.proxy import removeSecurityProxy

Modified: z3lab/cpsskins/branches/jmo-perspectives/elements/portlet.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/elements/portlet.py        
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/elements/portlet.py        Sun Nov 
13 10:45:14 2005
@@ -27,6 +27,7 @@
 
 from cpsskins.elements.interfaces import IPortlet, ISlot, IDisplayable
 from cpsskins.ontology import hasPortlet, hasPortletFromPerspective
+from cpsskins.relations import DyadicRelation, TriadicRelation
 from cpsskins.relations.tool import RelationTool
 
 class Portlet(Persistent, Contained):

Modified: z3lab/cpsskins/branches/jmo-perspectives/elements/theme.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/elements/theme.py  (original)
+++ z3lab/cpsskins/branches/jmo-perspectives/elements/theme.py  Sun Nov 13 
10:45:14 2005
@@ -17,19 +17,14 @@
 """
 __docformat__ = "reStructuredText"
 
-from zope.app.container.interfaces import INameChooser
 from zope.app.component.site import SiteManagementFolder
-from zope.component import adapts, queryUtility, getUtilitiesFor, getUtility
+from zope.component import adapts, getUtility
 from zope.interface import implements
 
-from cpsskins import configuration
-from cpsskins.configuration.interfaces import IResource
-from cpsskins.elements.interfaces import IElement, INode, INodeTraverser
-from cpsskins.perspectives.interfaces import IPerspective
+from cpsskins.elements.interfaces import INode, INodeTraverser
 from cpsskins.perspectives import Perspective
 from cpsskins.thememanager import getThemeManager
 from interfaces import ITheme, IThemePage
-from interfaces import IPageContainer
 from cpsskins.resources.interfaces import IResourceManager
 
 class Theme(SiteManagementFolder):

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/effect/__init__.py
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/effect/__init__.py
 (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/effect/__init__.py
 Sun Nov 13 10:45:14 2005
@@ -24,7 +24,6 @@
 from zope.component import adapts
 from zope.interface import implements
 from zope.schema.vocabulary import SimpleVocabulary
-from zope.interface import Interface, providedBy
 from zope.security.proxy import removeSecurityProxy
 
 from cpsskins.model.interfaces import IImage

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/widget/__init__.py
==============================================================================
--- 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/widget/__init__.py
 (original)
+++ 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/filters/widget/__init__.py
 Sun Nov 13 10:45:14 2005
@@ -19,10 +19,9 @@
 
 from zope.app.publisher.browser import BrowserView
 from zope.component import adapts
-from zope.component import queryMultiAdapter, getMultiAdapter
+from zope.component import queryMultiAdapter
 from zope.interface import implements
 from zope.i18nmessageid import MessageFactory
-from zope.schema.vocabulary import SimpleVocabulary
 
 from cpsskins.browser.rendering.interfaces import IFilterView
 from cpsskins.engines.default.formats.interfaces import IWidget

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/formats/layout.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/engines/default/formats/layout.py  
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/engines/default/formats/layout.py  
Sun Nov 13 10:45:14 2005
@@ -17,8 +17,6 @@
 """
 __docformat__ = "reStructuredText"
 
-from BTrees.OOBTree import OOBTree
-
 from zope.app.container.btree import BTreeContainer
 from zope.app.container.interfaces import IContainer
 from zope.app.traversing.interfaces import ITraversable

Modified: 
z3lab/cpsskins/branches/jmo-perspectives/engines/default/formats/style.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/engines/default/formats/style.py   
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/engines/default/formats/style.py   
Sun Nov 13 10:45:14 2005
@@ -19,11 +19,9 @@
 
 from zope.app.container.btree import BTreeContainer
 from zope.app.container.interfaces import IContainer
-from zope.component import getUtility
 from zope.interface import implements
 from zope.i18nmessageid import MessageFactory
 
-from cpsskins.configuration.interfaces import IRegistry
 from cpsskins.elements.format import Format
 from cpsskins.elements.interfaces import IFormat
 from cpsskins.relations import Predicate

Modified: z3lab/cpsskins/branches/jmo-perspectives/ontology.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/ontology.py        (original)
+++ z3lab/cpsskins/branches/jmo-perspectives/ontology.py        Sun Nov 13 
10:45:14 2005
@@ -17,12 +17,10 @@
 """
 __docformat__ = "reStructuredText"
 
-from zope.component import getUtility, getUtilitiesFor
+from zope.component import getUtilitiesFor
 from zope.interface import implements, Interface
 
 from cpsskins.relations import Predicate, CompoundPredicate, ProxyPredicate
-from cpsskins.relations.interfaces import IPredicate
-from cpsskins.elements.interfaces import IFormat
 
 # Monadic predicates
 

Modified: z3lab/cpsskins/branches/jmo-perspectives/perspectives/__init__.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/perspectives/__init__.py   
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/perspectives/__init__.py   Sun Nov 
13 10:45:14 2005
@@ -17,7 +17,6 @@
 """
 __docformat__ = "reStructuredText"
 
-from persistent import Persistent
 from zope.interface import implements
 
 from cpsskins import configuration

Modified: z3lab/cpsskins/branches/jmo-perspectives/resources/manager.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/resources/manager.py       
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/resources/manager.py       Sun Nov 
13 10:45:14 2005
@@ -18,7 +18,7 @@
 __docformat__ = "reStructuredText"
 
 from zope.app.component.interfaces.registration import ActiveStatus
-from zope.app.component.site import SiteManagementFolder, UtilityRegistration
+from zope.app.component.site import UtilityRegistration
 from zope.app.container.interfaces import INameChooser
 from zope.interface import implements, Interface
 from zope.component import getUtilitiesFor, queryUtility, getUtility

Modified: z3lab/cpsskins/branches/jmo-perspectives/tests/test_portlets.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/tests/test_portlets.py     
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/tests/test_portlets.py     Sun Nov 
13 10:45:14 2005
@@ -28,10 +28,6 @@
 from cpsskins.portlets.image import ImagePortlet
 from cpsskins.portlets.macroslot import MacroSlotPortlet
 
-class Test:
-    def makeTestObject(self):
-        return Portlet()
-
 class TestActionsPortlet:
     def makeTestObject(self):
         return ActionsPortlet()
@@ -58,7 +54,6 @@
 
 def test_suite():
     return unittest.TestSuite((
-        unittest.makeSuite(Test),
         unittest.makeSuite(TestActionsPortlet),
         unittest.makeSuite(TestBreadcrumbsPortlet),
         unittest.makeSuite(TestCustomPortlet),

Modified: z3lab/cpsskins/branches/jmo-perspectives/thememanager.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/thememanager.py    (original)
+++ z3lab/cpsskins/branches/jmo-perspectives/thememanager.py    Sun Nov 13 
10:45:14 2005
@@ -31,9 +31,7 @@
 from interfaces import IThemeManagement, IImageCache, ISettings
 from elements.interfaces import ITheme, IThemeContainer, IThemePage
 from elements.interfaces import IFormattable
-from ontology import isDefault, hasFormat
-from ontology import hasDisplay, hasDisplay, hasDisplayFromPerspective
-from ontology import hasPortlet, hasPortletFromPerspective
+from ontology import isDefault, hasFormat, hasDisplay
 from relations import MonadicRelation
 from relations.tool import RelationTool
 from storage.interfaces import IRelationStorage
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to