Skip to content

Commit

Permalink
Removes call to ast.unparse
Browse files Browse the repository at this point in the history
  • Loading branch information
desertaxle committed Jan 15, 2024
1 parent d7b0235 commit c052cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pmt/transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def node(self):
def deployment_name(self):
name_kwarg = self._kwargs.get("name", None)
if name_kwarg:
return ast.unparse(name_kwarg)
return astor.to_source(name_kwarg)

@property
def flow(self):
Expand Down

0 comments on commit c052cd4

Please sign in to comment.