dc_description should take a format argument tls-sprint
authorsylvain.thenault@logilab.fr
Wed, 13 May 2009 11:06:22 +0200
branchtls-sprint
changeset 1780 7549509ce0e6
parent 1779 e11b0dcc26bd
child 1781 7a934055dd45
dc_description should take a format argument
entities/lib.py
--- a/entities/lib.py	Wed May 13 11:02:47 2009 +0200
+++ b/entities/lib.py	Wed May 13 11:06:22 2009 +0200
@@ -97,7 +97,7 @@
     def typed_value(self):
         return self.vreg.typed_value(self.pkey, self.value)
 
-    def dc_description(self):
+    def dc_description(self, format='text/plain'):
         try:
             return self.req._(self.vreg.property_info(self.pkey)['help'])
         except UnknownProperty: