- Other fixes
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@331 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
parent
9344304f68
commit
466c72ab2c
@ -289,7 +289,7 @@ def futile_renames(n):
|
|||||||
|
|
||||||
#Generates new prop var
|
#Generates new prop var
|
||||||
for i in _vars.items():
|
for i in _vars.items():
|
||||||
n.prop+="%s➡%s," % (i[0],i[1])
|
n.prop+=u"%s%s%s," % (i[0],ARROW,i[1])
|
||||||
n.prop=n.prop[:-1] #Removing ending comma
|
n.prop=n.prop[:-1] #Removing ending comma
|
||||||
|
|
||||||
if len(n.prop)==0: #Nothing to rename, removing the rename op
|
if len(n.prop)==0: #Nothing to rename, removing the rename op
|
||||||
@ -337,7 +337,7 @@ def subsequent_renames(n):
|
|||||||
|
|
||||||
#Generates new prop var
|
#Generates new prop var
|
||||||
for i in _vars.items():
|
for i in _vars.items():
|
||||||
n.prop+="%s➡%s," % (i[0],i[1])
|
n.prop+=u"%s%s%s," % (i[0],ARROW,i[1])
|
||||||
n.prop=n.prop[:-1] #Removing ending comma
|
n.prop=n.prop[:-1] #Removing ending comma
|
||||||
|
|
||||||
if len(n.prop)==0: #Nothing to rename, removing the rename op
|
if len(n.prop)==0: #Nothing to rename, removing the rename op
|
||||||
@ -413,7 +413,7 @@ def swap_rename_projection(n):
|
|||||||
n.name=n.child.name
|
n.name=n.child.name
|
||||||
n.prop=''
|
n.prop=''
|
||||||
for i in _vars.keys():
|
for i in _vars.keys():
|
||||||
n.prop+='%s➡%s,' % (_vars[i],i)
|
n.prop+=u'%s%s%s,' % (_vars[i],ARROW,i)
|
||||||
n.prop=n.prop[:-1]
|
n.prop=n.prop[:-1]
|
||||||
|
|
||||||
n.child.name=PROJECTION
|
n.child.name=PROJECTION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user