getitem for multis

This commit is contained in:
gwen 2012-07-13 11:25:31 +02:00
parent e3b379b974
commit 7800e38585

View file

@ -42,6 +42,8 @@ class Multi(list):
value = super(Multi, self).__getitem__(key)
if value is None:
return self.child.default_multi
else:
return value
def __setitem__(self, key, value):
if value is None: