server/sources/ldapuser.py
branchstable
changeset 3689 deb13e88e037
parent 3245 7ef021ac8dec
child 3720 5376aaadd16b
child 4212 ab6573088b4a
equal deleted inserted replaced
3688:421fb447ecb2 3689:deb13e88e037
   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