[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate - metadirectives.py:1.1.2.1

Philipp von Weitershausen philikon at philikon.de
Wed Aug 6 11:25:36 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/pagetemplate
In directory cvs.zope.org:/tmp/cvs-serv12594/pagetemplate

Modified Files:
      Tag: zcml-interface-field-branch
	metadirectives.py 
Log Message:
Change GlobalObject to InterfaceField wherever applicable.


=== Zope3/src/zope/app/pagetemplate/metadirectives.py 1.1 => 1.1.2.1 ===
--- Zope3/src/zope/app/pagetemplate/metadirectives.py:1.1	Sun Aug  3 16:43:35 2003
+++ Zope3/src/zope/app/pagetemplate/metadirectives.py	Wed Aug  6 10:25:01 2003
@@ -20,6 +20,7 @@
 from zope.interface import Interface
 from zope.configuration.fields import GlobalObject
 from zope.schema import TextLine
+from zope.app.configuration import InterfaceField
 
 class INamespaceDirective(Interface):
     """
@@ -38,7 +39,7 @@
         required=True
         )
 
-    interface = GlobalObject(
+    interface = InterfaceField(
         title=u"The namespace interface",
         description=u"""
         This is an interface that the namespace must provide.  we'll




More information about the Zope3-Checkins mailing list