From 82950a621cd03c3d21b33288dffbc60df28811b9 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Fri, 6 Sep 2013 13:55:34 -0500 Subject: [PATCH] Lazy tables recursion fix 3, thanks Michele and Anthony --- VERSION | 2 +- gluon/dal.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 378cc5b0..0842b320 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.6.0-development+timestamp.2013.09.05.17.25.20 +Version 2.6.0-development+timestamp.2013.09.06.13.54.33 diff --git a/gluon/dal.py b/gluon/dal.py index 601ce8e6..e824cf72 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -7006,7 +7006,8 @@ class Row(object): return ogetattr(self, key) except (KeyError,AttributeError,TypeError), ae: try: - return ogetattr(self,'__get_lazy_reference__')(key) + self[key] = ogetattr(self,'__get_lazy_reference__')(key) + return self[key] except: raise ae