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.
master
Salvo 'LtWorf' Tomaselli 2015-06-01 08:43:41 +07:00
parent c345c1e521
commit be6400c270
1 changed files with 1 additions and 0 deletions

@ -197,6 +197,7 @@ class relation (object):
newt.content = self.content
newt._readonly = True
self._readonly = True
return newt
def intersection(self, other):