[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces - dublincore.py:1.6
Richard Jones
richard@commonground.com.au
Fri, 11 Jul 2003 22:47:51 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces
In directory cvs.zope.org:/tmp/cvs-serv26157/src/zope/app/interfaces
Modified Files:
dublincore.py
Log Message:
Sequence value_types argument is now value_type (ie. a single Field type)
Dict key_types and value_types are also changed to key_type and value_type.
[having multiple value/key types makes no sense and actually makes widgets
extraordinarily difficult to implement (read: approaching impossible :)]
=== Zope3/src/zope/app/interfaces/dublincore.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/interfaces/dublincore.py:1.5 Tue May 27 08:56:57 2003
+++ Zope3/src/zope/app/interfaces/dublincore.py Fri Jul 11 22:47:17 2003
@@ -274,13 +274,13 @@
creators = Sequence(
title = u'Creators',
description = u"The unqualified Dublin Core 'Creator' element values",
- value_types = (TextLine(),),
+ value_type = TextLine(),
)
subjects = Sequence(
title = u'Subjects',
description = u"The unqualified Dublin Core 'Subject' element values",
- value_types = (TextLine(),),
+ value_type = TextLine(),
)
publisher = Text(
@@ -293,7 +293,7 @@
title = u'Contributors',
description =
u"The unqualified Dublin Core 'Contributor' element values",
- value_types = (TextLine(),),
+ value_type = TextLine(),
)
class ICMFDublinCore(Interface):