Fixed a bug where as_list was setting the compact value for the rows permanently instead of only temporarily while processing the rows.

This commit is contained in:
Leonel Câmara
2014-07-29 18:56:35 +01:00
parent 1ee8d3cb97
commit 757fb934d5
+1 -1
View File
@@ -10917,7 +10917,7 @@ class Rows(object):
items = [item.as_dict(datetime_to_str, custom_types) for item in self]
else:
items = [item for item in self]
self.compact = compact
self.compact = oc
return items