--- a/web/formfields.py Thu Jul 23 15:33:03 2009 +0200
+++ b/web/formfields.py Thu Jul 23 15:57:15 2009 +0200
@@ -11,9 +11,9 @@
from datetime import datetime
from logilab.mtconverter import xml_escape
-from yams.constraints import SizeConstraint, StaticVocabularyConstraint
+from yams.constraints import (SizeConstraint, StaticVocabularyConstraint,
+ FormatConstraint)
-from cubicweb.schema import FormatConstraint
from cubicweb.utils import ustrftime, compute_cardinality
from cubicweb.common import tags, uilib
from cubicweb.web import INTERNAL_FIELD_VALUE