Fix MailRefId to inherit from TextLine

This commit is contained in:
Frédéric Péters 2011-07-27 16:13:01 +02:00
parent 7b43be9b0f
commit 8b67b9b964
1 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
from zope.interface import implements, implementsOnly
from zope.schema import Choice, Field, List, Date, Orderable
from zope.schema import Choice, Field, List, Date, Orderable, TextLine
from zope.schema.interfaces import IFromUnicode, IChoice
from zope.schema.interfaces import WrongType
@ -354,7 +354,6 @@ class RelatedDoc(Relation):
return clone
class MailRefId(Field):
implements(IMailRefId)
class MailRefId(TextLine):
implements(IMailRefId, IFromUnicode)