Merge "Fix list data type implementation"

This commit is contained in:
Jenkins 2015-12-15 06:01:27 +00:00 committed by Gerrit Code Review
commit 100e241516

View File

@ -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