Resolve merge conflicts

This commit is contained in:
Griatch 2018-06-12 20:13:22 +02:00
commit e144672e74
5 changed files with 73 additions and 25 deletions

View file

@ -237,10 +237,13 @@ class _SaverList(_SaverMutable, MutableSequence):
self._data = list()
@_save
def __add__(self, otherlist):
def __iadd__(self, otherlist):
self._data = self._data.__add__(otherlist)
return self._data
def __add__(self, otherlist):
return list(self._data) + otherlist
@_save
def insert(self, index, value):
self._data.insert(index, self._convert_mutables(value))