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
|
||||
if self.name == PROJECTION:
|
||||
prop = '\"%s\"' % prop.replace(' ', '').replace(',', '\",\"')
|
||||
prop = repr(self.get_projection_prop())
|
||||
elif self.name == RENAME:
|
||||
prop = repr(self.get_rename_prop())
|
||||
else: # Selection
|
||||
|
Loading…
Reference in New Issue
Block a user