Reuse code to generate the projection python code
This commit is contained in:
parent
04f568ad50
commit
8fd2db12b5
@ -231,7 +231,7 @@ class Unary(Node):
|
|||||||
|
|
||||||
# Converting parameters
|
# Converting parameters
|
||||||
if self.name == PROJECTION:
|
if self.name == PROJECTION:
|
||||||
prop = '\"%s\"' % prop.replace(' ', '').replace(',', '\",\"')
|
prop = repr(self.get_projection_prop())
|
||||||
elif self.name == RENAME:
|
elif self.name == RENAME:
|
||||||
prop = repr(self.get_rename_prop())
|
prop = repr(self.get_rename_prop())
|
||||||
else: # Selection
|
else: # Selection
|
||||||
|
Loading…
x
Reference in New Issue
Block a user