Author: jmorliaguet
Date: Sat Jun 10 17:11:59 2006
New Revision: 3388

Modified:
   cpsskins/branches/paris-sprint-2006/browser/rendering/viewer.py
   cpsskins/branches/paris-sprint-2006/browser/tree/slot.py
   cpsskins/branches/paris-sprint-2006/caching.py
   cpsskins/branches/paris-sprint-2006/configuration/portlets/metadirectives.py
   cpsskins/branches/paris-sprint-2006/standard/filters/effect/__init__.py

Log:

- misc fixes



Modified: cpsskins/branches/paris-sprint-2006/browser/rendering/viewer.py
==============================================================================
--- cpsskins/branches/paris-sprint-2006/browser/rendering/viewer.py     
(original)
+++ cpsskins/branches/paris-sprint-2006/browser/rendering/viewer.py     Sat Jun 
10 17:11:59 2006
@@ -32,7 +32,7 @@
 from cpsskins.browser.tree.interfaces import INodeTraversing
 from cpsskins.elements.interfaces import INode, IElement, ISlot
 from cpsskins.elements.interfaces import IDisplayable
-from cpsskins.setup.interfaces import IType, IResourceManager
+from cpsskins.setup.interfaces import IResourceManager
 from cpsskins.utils import getThemeManager
 
 logger = logging.getLogger("cpsskins")

Modified: cpsskins/branches/paris-sprint-2006/browser/tree/slot.py
==============================================================================
--- cpsskins/branches/paris-sprint-2006/browser/tree/slot.py    (original)
+++ cpsskins/branches/paris-sprint-2006/browser/tree/slot.py    Sat Jun 10 
17:11:59 2006
@@ -27,6 +27,8 @@
 from cpsskins.browser.tree.interfaces import INodeAdding, INodeRemoving
 from cpsskins.browser.tree.interfaces import INodeOrdering, INodeMoving
 from cpsskins.browser.tree.interfaces import INodeDuplicating, INodeTraversing
+from cpsskins.elements.display import IGNORE_PERSPECTIVES
+from cpsskins.elements.display import USE_CURRENT_PERSPECTIVE
 from cpsskins.elements.interfaces import IPortlet, IDisplayable
 from cpsskins.ontology import hasPortlet, hasPortletFromPerspective
 from cpsskins.relations import DyadicRelation, TriadicRelation

Modified: cpsskins/branches/paris-sprint-2006/caching.py
==============================================================================
--- cpsskins/branches/paris-sprint-2006/caching.py      (original)
+++ cpsskins/branches/paris-sprint-2006/caching.py      Sat Jun 10 17:11:59 2006
@@ -27,7 +27,7 @@
 
 class IImageCache(IRAMCache):
 
-    def __getitem__(key):
+    def get(key, default):
         """ """
 
     def __setitem__(key, value):

Modified: 
cpsskins/branches/paris-sprint-2006/configuration/portlets/metadirectives.py
==============================================================================
--- 
cpsskins/branches/paris-sprint-2006/configuration/portlets/metadirectives.py    
    (original)
+++ 
cpsskins/branches/paris-sprint-2006/configuration/portlets/metadirectives.py    
    Sat Jun 10 17:11:59 2006
@@ -20,7 +20,7 @@
 from zope.interface import Interface
 from zope.i18nmessageid import MessageFactory
 from zope.configuration.fields import GlobalObject, GlobalInterface, Path
-from zope.schema import TextLine, DottedName
+from zope.schema import TextLine
 
 _ = MessageFactory("cpsskins")
 

Modified: 
cpsskins/branches/paris-sprint-2006/standard/filters/effect/__init__.py
==============================================================================
--- cpsskins/branches/paris-sprint-2006/standard/filters/effect/__init__.py     
(original)
+++ cpsskins/branches/paris-sprint-2006/standard/filters/effect/__init__.py     
Sat Jun 10 17:11:59 2006
@@ -33,10 +33,11 @@
 
 logger = logging.getLogger("cpsskins")
 
+PILImage = None
 try:
     import PIL.Image as PILImage
 except ImportError:
-    PILImage = None
+    pass
 
 class EffectFilter(object):
     """Applies effects on objects.
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to