[Zope3-checkins] CVS: Zope3/src/zope/app/dav -
metadirectives.py:1.1.2.1
Philipp von Weitershausen
philikon at philikon.de
Wed Aug 6 11:25:30 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/dav
In directory cvs.zope.org:/tmp/cvs-serv12594/dav
Modified Files:
Tag: zcml-interface-field-branch
metadirectives.py
Log Message:
Change GlobalObject to InterfaceField wherever applicable.
=== Zope3/src/zope/app/dav/metadirectives.py 1.1 => 1.1.2.1 ===
--- Zope3/src/zope/app/dav/metadirectives.py:1.1 Sat Aug 2 13:26:12 2003
+++ Zope3/src/zope/app/dav/metadirectives.py Wed Aug 6 10:24:55 2003
@@ -18,6 +18,7 @@
from zope.configuration.fields import GlobalObject
from zope.interface import Interface
from zope.schema import URI
+from zope.app.configuration import InterfaceField
class IProvideInterfaceDirective(Interface):
"""This directive assigns a new interface to a component. This interface
@@ -29,7 +30,7 @@
u"via DAV.",
required=True)
- interface = GlobalObject(
+ interface = InterfaceField(
title=u"Interface",
description=u"Specifies an interface/schema for DAV.",
required=True)
More information about the Zope3-Checkins
mailing list