equal
deleted
inserted
replaced
629 # don't care of type constraint statement (i.e. relation_type = 'is') |
629 # don't care of type constraint statement (i.e. relation_type = 'is') |
630 if rtype == 'is': |
630 if rtype == 'is': |
631 return '' |
631 return '' |
632 lhs, rhs = relation.get_parts() |
632 lhs, rhs = relation.get_parts() |
633 # attribute relation |
633 # attribute relation |
634 if self.source.schema.rschema(rtype).is_final(): |
634 if self.source.schema.rschema(rtype).final: |
635 # dunno what to do here, don't pretend anything else |
635 # dunno what to do here, don't pretend anything else |
636 if lhs.name != self._mainvarname: |
636 if lhs.name != self._mainvarname: |
637 if lhs.name in self.mainvars: |
637 if lhs.name in self.mainvars: |
638 # XXX check we don't have variable as rhs |
638 # XXX check we don't have variable as rhs |
639 return |
639 return |