Use _make_writable also in delete function

This way the _make_writable can be changed in one place.
master
Salvo 'LtWorf' Tomaselli 2015-11-17 23:52:26 +07:00
parent 1e464d9d4c
commit ff3a5935fc
1 changed files with 1 additions and 1 deletions

@ -460,7 +460,7 @@ class Relation (object):
Returns the number of affected rows.'''
l = len(self.content)
self._readonly = False
self._make_writable(copy_content=False)
self.content = self.difference(self.selection(expr)).content
return len(self.content) - l