branch | stable |
changeset 3689 | deb13e88e037 |
parent 3578 | 7f026d15cc82 |
child 3720 | 5376aaadd16b |
child 4212 | ab6573088b4a |
--- a/entities/__init__.py Thu Oct 15 18:43:04 2009 +0200 +++ b/entities/__init__.py Thu Oct 15 20:29:21 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''