Fix MailRefId to inherit from TextLine
This commit is contained in:
parent
7b43be9b0f
commit
8b67b9b964
|
@ -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)
|
||||
|
||||
|
|
Reference in New Issue