From 665f728946920d1b488cd70bf5fe61073fa68c5a Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sun, 20 Oct 2013 22:55:17 -0500 Subject: [PATCH] db().select().as_trees() --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index a3b6b5ae..99b59b75 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.7.4-stable+timestamp.2013.10.20.22.50.07 +Version 2.7.4-stable+timestamp.2013.10.20.22.54.26 diff --git a/gluon/dal.py b/gluon/dal.py index a5dcbabc..6f4b6f19 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -10652,7 +10652,7 @@ class Rows(object): return dict([(key(r),r) for r in rows]) - def as_tree(self, parent_name='parent_id', children_name='children'): + def as_trees(self, parent_name='parent_id', children_name='children'): roots = [] drows = {} for row in self: