[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/component/contentdirective.py ILocalUtility is deprecated.

Jim Fulton jim at zope.com
Tue Apr 18 19:56:19 EDT 2006


Log message for revision 67102:
  ILocalUtility is deprecated.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/component/contentdirective.py

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/component/contentdirective.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/component/contentdirective.py	2006-04-18 23:56:16 UTC (rev 67101)
+++ Zope3/branches/jim-adapter/src/zope/app/component/contentdirective.py	2006-04-18 23:56:18 UTC (rev 67102)
@@ -31,7 +31,6 @@
 from zope.location.interfaces import ILocation
 from zope.annotation.interfaces import IAttributeAnnotatable
 
-from zope.app.component.interfaces import ILocalUtility
 from zope.app.security.protectclass import protectLikeUnto, protectName
 from zope.app.security.protectclass import protectSetAttribute
 
@@ -207,8 +206,6 @@
       >>> dir = LocalUtilityDirective(None, LU4)
       >>> IAttributeAnnotatable.implementedBy(LU4)
       True
-      >>> ILocalUtility.implementedBy(LU4)
-      True
 
       >>> LocalUtilityDirective(None, LU3)
       Traceback (most recent call last):
@@ -237,6 +234,5 @@
                                      '`IPersistent`.' % class_.__name__)
 
         classImplements(class_, IAttributeAnnotatable)
-        classImplements(class_, ILocalUtility)
 
         super(LocalUtilityDirective, self).__init__(_context, class_)



More information about the Zope3-Checkins mailing list