goa/rqlinterpreter.py
branchstable
changeset 3689 deb13e88e037
parent 1977 606923dff11b
child 4212 ab6573088b4a
--- a/goa/rqlinterpreter.py	Thu Oct 15 18:43:04 2009 +0200
+++ b/goa/rqlinterpreter.py	Thu Oct 15 20:29:21 2009 +0200
@@ -156,7 +156,7 @@
         myvar = self.rhs.name
         ovar = self.var.name
         rtype = self.rtype
-        if self.schema.rschema(rtype).is_final():
+        if self.schema.rschema(rtype).final:
             # should be detected by rql.stcheck: "Any C WHERE NOT X attr C" doesn't make sense
             #if self._not:
             #    raise NotImplementedError()
@@ -595,7 +595,7 @@
             # ok, we *may* process this Not node (not implemented error will be
             # raised later if we can't)
             extra[node.parent] = True
-        if rschema.is_final():
+        if rschema.final:
             self._visit_final_relation(rschema, node, constraints, extra)
         elif neged:
             self._visit_non_final_neged_relation(rschema, node, constraints)