[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/component/site.txt ILocalUtility is deprecated and unneeded.

Jim Fulton jim at zope.com
Fri Apr 21 12:37:29 EDT 2006


Log message for revision 67226:
  ILocalUtility is deprecated and unneeded.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/component/site.txt

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/component/site.txt
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/component/site.txt	2006-04-21 16:37:25 UTC (rev 67225)
+++ Zope3/branches/jim-adapter/src/zope/app/component/site.txt	2006-04-21 16:37:28 UTC (rev 67226)
@@ -136,8 +136,7 @@
   >>> import persistent
   >>> from zope.app.container.contained import Contained
   >>> class MyUtility(persistent.Persistent, Contained):
-  ...     zope.interface.implements(IMyUtility,
-  ...                               interfaces.ILocalUtility)
+  ...     zope.interface.implements(IMyUtility)
   ...     def __init__(self, title):
   ...         self.title = title
   ...     def __repr__(self):



More information about the Zope3-Checkins mailing list