entities/__init__.py
changeset 3720 5376aaadd16b
parent 3589 a5432f99f2d9
parent 3689 deb13e88e037
child 4147 52fe79a98b21
--- a/entities/__init__.py	Thu Oct 15 11:20:26 2009 +0200
+++ b/entities/__init__.py	Mon Oct 19 15:16:41 2009 +0200
@@ -63,7 +63,7 @@
 
     def dc_description(self, format='text/plain'):
         """return a suitable description for this entity"""
-        if self.e_schema.has_subject_relation('description'):
+        if 'description' in self.e_schema.subjrels:
             return self.printable_value('description', format=format)
         return u''