[Zope3-checkins] CVS: Zope3/src/zope/app/component - globalinterfaceservice.py:1.4.4.1
Tim Peters
tim.one@comcast.net
Wed, 26 Feb 2003 16:20:01 -0500
Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv23093/src/zope/app/component
Modified Files:
Tag: use-config-branch
globalinterfaceservice.py
Log Message:
Added IService marker interface, and ISimpleService. It's intended that
services implement ISimpleService, and this code also changes a number
of services to do so. A number of services do not yet do so. Guido
and I will tackle those in parallel next.
=== Zope3/src/zope/app/component/globalinterfaceservice.py 1.4 => 1.4.4.1 ===
--- Zope3/src/zope/app/component/globalinterfaceservice.py:1.4 Fri Jan 3 11:03:33 2003
+++ Zope3/src/zope/app/component/globalinterfaceservice.py Wed Feb 26 16:19:30 2003
@@ -17,6 +17,7 @@
from zope.interface import Interface
from zope.component.exceptions import ComponentLookupError
+from zope.component.interfaces import IService
class IInterfaceService(Interface):
"""Service that keeps track of used interfaces
@@ -56,7 +57,7 @@
import IGlobalInterfaceService
class InterfaceService:
- __implements__ = IGlobalInterfaceService
+ __implements__ = IGlobalInterfaceService, IService
def __init__(self, data=None):
if data is None: