Mark both relations as read-only after a rename
Only one relation was marked as read-only after a rename, which means that changes to the original relation would affect the other one as well.
This commit is contained in:
@@ -197,6 +197,7 @@ class relation (object):
|
|||||||
|
|
||||||
newt.content = self.content
|
newt.content = self.content
|
||||||
newt._readonly = True
|
newt._readonly = True
|
||||||
|
self._readonly = True
|
||||||
return newt
|
return newt
|
||||||
|
|
||||||
def intersection(self, other):
|
def intersection(self, other):
|
||||||
|
Reference in New Issue
Block a user