Skip to content

Commit

Permalink
Remove one os.remove
Browse files Browse the repository at this point in the history
  • Loading branch information
erick-xanadu committed Nov 18, 2024
1 parent 5027d9d commit b673b40
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions frontend/catalyst/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,6 @@ def run_from_ir(self, ir: str, module_name: str, workspace: Directory):
output = LinkerDriver.run(output_object_name, options=self.options)
output_object_name = str(pathlib.Path(output).absolute())

# Clean up temporary files
if os.path.exists(tmp_infile_name):
os.remove(tmp_infile_name)
if os.path.exists(output_ir_name):
os.remove(output_ir_name)

Expand Down

0 comments on commit b673b40

Please sign in to comment.