fix State's RichString definition: 'default' was used instead of 'default_format' tls-sprint
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 18 Feb 2009 15:41:10 +0100
branchtls-sprint
changeset 798 0015b33a7336
parent 797 9a39da0df3a2
child 799 ad129d374ee2
fix State's RichString definition: 'default' was used instead of 'default_format'
schemas/workflow.py
--- a/schemas/workflow.py	Wed Feb 18 15:36:41 2009 +0100
+++ b/schemas/workflow.py	Wed Feb 18 15:41:10 2009 +0100
@@ -11,7 +11,7 @@
     """
     name = String(required=True, indexed=True, internationalizable=True,
                   maxsize=256)
-    description = RichString(fulltextindexed=True, default='text/rest',
+    description = RichString(fulltextindexed=True, default_format='text/rest',
                              description=_('semantic description of this state'))
     
     state_of = SubjectRelation('EEType', cardinality='+*',