fixed as_dict for functions, thanks Martin Hufsky and Alan
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.4.7-stable+timestamp.2013.05.27.10.41.10
|
Version 2.4.7-stable+timestamp.2013.05.27.11.49.44
|
||||||
|
|||||||
+1
-1
@@ -10370,7 +10370,7 @@ class Rows(object):
|
|||||||
# test for multiple rows
|
# test for multiple rows
|
||||||
multi = False
|
multi = False
|
||||||
f = self.first()
|
f = self.first()
|
||||||
if f:
|
if f and isinstance(key, basestring):
|
||||||
multi = any([isinstance(v, f.__class__) for v in f.values()])
|
multi = any([isinstance(v, f.__class__) for v in f.values()])
|
||||||
if (not "." in key) and multi:
|
if (not "." in key) and multi:
|
||||||
# No key provided, default to int indices
|
# No key provided, default to int indices
|
||||||
|
|||||||
Reference in New Issue
Block a user