[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - configuration.py:1.14
Steve Alexander
steve@cat-box.net
Tue, 3 Jun 2003 10:28:51 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv29430/src/zope/app/interfaces/services
Modified Files:
configuration.py
Log Message:
new implements style
=== Zope3/src/zope/app/interfaces/services/configuration.py 1.13 => 1.14 ===
--- Zope3/src/zope/app/interfaces/services/configuration.py:1.13 Thu May 1 15:35:22 2003
+++ Zope3/src/zope/app/interfaces/services/configuration.py Tue Jun 3 10:28:50 2003
@@ -20,7 +20,7 @@
from zope.app.interfaces.annotation import IAttributeAnnotatable
from zope.app.interfaces.container import IContainerNamesContainer, IContainer
from zope.app.security.permission import PermissionField
-from zope.interface import Interface, Attribute
+from zope.interface import Interface, Attribute, implements
from zope.schema import TextLine
from zope.schema.interfaces import ITextLine
@@ -33,7 +33,7 @@
"""
class ConfigurationStatus(TextLine):
- __implements__ = IConfigurationStatus
+ implements(IConfigurationStatus)
allowed_values = Unregistered, Registered, Active
class INoLocalServiceError(Interface):
@@ -47,7 +47,7 @@
no local service.
"""
- __implements__ = INoLocalServiceError
+ implements(INoLocalServiceError)
class IConfiguration(Interface):
"""Configuration object
@@ -110,7 +110,7 @@
Values of the field are absolute unicode path strings that can be
traversed to get an object.
"""
- __implements__ = IComponentPath
+ implements(IComponentPath)
class IComponentConfiguration(IConfiguration):
@@ -355,7 +355,6 @@
class INoConfigurationManagerError(Interface):
"""No configuration manager error
"""
-
class NoConfigurationManagerError(Exception):
"""No configuration manager
@@ -365,8 +364,7 @@
site-management folder.
"""
-
- __implements__ = INoConfigurationManagerError
+ implements(INoConfigurationManagerError)
class IConfigurationManagerContainer(IContainer):
"""Containers with configuration managers