Merge pull request #2090 from matham/var-list

Allow VariableListProperty to accept any list derivative
This commit is contained in:
Akshay Arora 2014-04-20 02:34:07 +05:30
commit 4e6ba24dc8
1 changed files with 1 additions and 1 deletions

View File

@ -1280,7 +1280,7 @@ cdef class VariableListProperty(Property):
return x
tp = type(x)
if tp is list or tp is tuple:
if isinstance(x, (list, tuple)):
l = len(x)
if l == 1:
y = self._convert_numeric(obj, x[0])