fixed as_dict for functions, thanks Martin Hufsky and Alan

This commit is contained in:
mdipierro
2013-05-27 11:50:31 -05:00
parent d1e25796e9
commit dd97b9c8dd
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -10370,7 +10370,7 @@ class Rows(object):
# test for multiple rows
multi = False
f = self.first()
if f:
if f and isinstance(key, basestring):
multi = any([isinstance(v, f.__class__) for v in f.values()])
if (not "." in key) and multi:
# No key provided, default to int indices