Merge branches 'bbmaster' and 'master' of ssh://git.cy55.de/home/git/loops into bbmaster
This commit is contained in:
commit
931f308fc1
1 changed files with 2 additions and 1 deletions
|
@ -479,8 +479,9 @@ class ParentRelation(object):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def __set__(self, inst, value):
|
def __set__(self, inst, value):
|
||||||
|
value = baseObject(value)
|
||||||
rs = ParentRelationSet(inst, self.predicateName)
|
rs = ParentRelationSet(inst, self.predicateName)
|
||||||
rsList = list(rs)
|
rsList = [baseObject(p) for p in rs]
|
||||||
for current in rsList:
|
for current in rsList:
|
||||||
if current != value:
|
if current != value:
|
||||||
rs.remove(current)
|
rs.remove(current)
|
||||||
|
|
Loading…
Add table
Reference in a new issue