From d2d71e8b53f321ab7d3c478500f5174652398831 Mon Sep 17 00:00:00 2001 From: LtWorf Date: Mon, 21 Jul 2008 08:14:07 +0000 Subject: [PATCH] spaces are ignored in attributes' names in rename git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@20 014f5005-505e-4b48-8d0a-63407b615a7c --- parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.py b/parser.py index 918b644..f215f06 100644 --- a/parser.py +++ b/parser.py @@ -103,7 +103,7 @@ def parse(expr): elif symbol== "σ": #Selection res="%s.selection(\"%s\")" % (internal,parameters) elif symbol=="ρ": #Rename - params=parameters.replace(",","\",\"").replace("➡","\",\"") + params=parameters.replace(",","\",\"").replace("➡","\",\"").replace(" ","") res="%s.rename(\"%s\")" % (internal,params) #Last complex operator is replaced with it's python code #Next cycle will do the same to the new last unparsed complex operator