Merge "Fix list data type implementation"
This commit is contained in:
commit
100e241516
@ -23,8 +23,7 @@ class MutableList(mutable.Mutable, list):
|
||||
if not isinstance(value, MutableList):
|
||||
if isinstance(value, list):
|
||||
return MutableList(value)
|
||||
else:
|
||||
return MutableList([value])
|
||||
return mutable.Mutable.coerce(key, value)
|
||||
else:
|
||||
return value
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user