server/sources/__init__.py
branchstable
changeset 6057 cb5c8852cbda
parent 5849 9db65b381028
child 6142 8bc6eac1fac1
child 6152 6824f8b61098
--- 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: