Fix typo in __setitem__ of model group
(transplanted from f172fc39d027012896cf29409ac70f51e83a07ba)
This commit is contained in:
1 parent
3a391830ab
commit
feb30729bd
1 file changed
+1
-1
@@ -100,7 +100,7 @@ class Group(SignalEvent, list):
|
||||
def __setitem__(self, i, value):
|
||||
super(Group, self).__setitem__(i, value)
|
||||
if not self.lock_signal:
|
||||
self.signal('group-list-changed', ('record-changed', key))
|
||||
self.signal('group-list-changed', ('record-changed', i))
|
||||
|
||||
def __repr__(self):
|
||||
return '<Group %s at %s>' % (self.model_name, id(self))
|
||||
|
||||
Reference in new issue
Block a user