From 757fb934d5e9599e849ec82e4c6cccb8f3e3fd64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonel=20C=C3=A2mara?= Date: Tue, 29 Jul 2014 18:56:35 +0100 Subject: [PATCH] Fixed a bug where as_list was setting the compact value for the rows permanently instead of only temporarily while processing the rows. --- gluon/dal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/dal.py b/gluon/dal.py index 5573ce68..5e633a79 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -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