diff -r 37a37e5ba330 -r cb5c8852cbda server/sources/__init__.py --- a/server/sources/__init__.py Tue Aug 03 12:17:01 2010 +0200 +++ b/server/sources/__init__.py Tue Aug 03 12:17:20 2010 +0200 @@ -182,7 +182,7 @@ wsupport = self.support_relations[rtype] except KeyError: rschema = self.schema.rschema(rtype) - if not rschema.final or rschema == 'has_text': + if not rschema.final or rschema.type == 'has_text': return False for etype in rschema.subjects(): try: