From 1060e9d2757e5a1304909b75e98e46d4539a0359 Mon Sep 17 00:00:00 2001 From: LtWorf Date: Tue, 28 Apr 2009 18:42:40 +0000 Subject: [PATCH] implemented tree function git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@131 014f5005-505e-4b48-8d0a-63407b615a7c --- relational/optimizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relational/optimizer.py b/relational/optimizer.py index eb2c54f..52c2f87 100644 --- a/relational/optimizer.py +++ b/relational/optimizer.py @@ -166,7 +166,7 @@ def tree(expression): '''This function parses a relational algebra expression into a tree and returns the root node using the Node class defined in this module.''' #isinstance(k,list) - pass + return node(tokenize(expression)) if __name__=="__main__":