Commit 9064b155 authored by Dan Pascu's avatar Dan Pascu

Fixed return value for __iadd__

parent b64cebbf
...@@ -2166,6 +2166,7 @@ class ItemList(list): ...@@ -2166,6 +2166,7 @@ class ItemList(list):
def __iadd__(self, other): def __iadd__(self, other):
list.__iadd__(self, other) list.__iadd__(self, other)
self.__groupmap__.update((item.settings, item) for item in other if isinstance(item, Group)) self.__groupmap__.update((item.settings, item) for item in other if isinstance(item, Group))
return self
def __imul__(self, factor): def __imul__(self, factor):
raise NotImplementedError raise NotImplementedError
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment