- command line interface using new API

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@333 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
LtWorf
2011-10-17 21:26:01 +00:00
parent ee1e103c8f
commit cdd771462d
4 changed files with 5 additions and 4 deletions

View File

@@ -133,9 +133,9 @@ class node (object):
prop =self.prop
#Converting parameters
if self.name==PROJECTION:#Projection
if self.name==PROJECTION:
prop='\"%s\"' % prop.replace(' ','').replace(',','\",\"')
elif self.name==u"ρ": #Rename
elif self.name==RENAME:
prop='{\"%s\"}' % prop.replace(',','\",\"').replace(ARROW,'\":\"').replace(' ','')
else: #Selection
prop='\"%s\"' % prop