[z3-checkins] r28625 - z3/Sfive/trunk
philikon at codespeak.net
philikon at codespeak.net
Sat Jun 10 17:01:23 CEST 2006
Author: philikon
Date: Sat Jun 10 17:01:17 2006
New Revision: 28625
Modified:
z3/Sfive/trunk/interfaces.py
Log:
Get rid of unused import and use Text rather than SourceText
Modified: z3/Sfive/trunk/interfaces.py
==============================================================================
--- z3/Sfive/trunk/interfaces.py (original)
+++ z3/Sfive/trunk/interfaces.py Sat Jun 10 17:01:17 2006
@@ -1,5 +1,5 @@
from zope.interface import Interface
-from zope.schema import TextLine, SourceText, Choice
+from zope.schema import TextLine, Text
from zope.i18nmessageid import MessageFactory
_ = MessageFactory('sfive')
@@ -31,7 +31,7 @@
default=u""
)
- text = SourceText(
+ text = Text(
title=_(u"Text"),
description=_(u"Presentation text"),
required=True
More information about the z3-checkins
mailing list