[Zope3-checkins] CVS: Zope3/src/zope/app/component - interfacefield.py:1.1.2.3
Jim Fulton
jim@zope.com
Wed, 25 Dec 2002 08:27:59 -0500
Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv9989/src/zope/app/component
Modified Files:
Tag: NameGeddon-branch
interfacefield.py
Log Message:
Gor zope running again!
I haven't tested everything.
(Yes, we need functional tests. Maybe this week).
Good enough to merge into trunk.
=== Zope3/src/zope/app/component/interfacefield.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/component/interfacefield.py:1.1.2.2 Tue Dec 24 21:20:22 2002
+++ Zope3/src/zope/app/component/interfacefield.py Wed Dec 25 08:27:28 2002
@@ -16,20 +16,11 @@
$Id$
"""
-from zope.schema.interfaces import IValueSet
-from zope.schema import ValueSet, Field
+from zope.schema import ValueSet
from zope.interface import Interface
from zope.interface.interfaces import IInterface
from zope.schema.interfaces import ValidationError
-
-class IInterfaceField(IValueSet):
- u"""Fields with Interfaces as values
- """
-
- type = Field(title=u"Base type",
- description=u"All values must extend (or be) this type",
- default=Interface,
- )
+from zope.app.interfaces.component.interfacefield import IInterfaceField
class InterfaceField(ValueSet):
__doc__ = IInterfaceField.__doc__