Skip to content

Commit

Permalink
Merge pull request #271 from YosysHQ/aiju/issue-269
Browse files Browse the repository at this point in the history
Fixes issue #269 by removing an erroneous "if sbyfile" check.
  • Loading branch information
nakengelhardt authored Apr 5, 2024
2 parents ebfb2ee + da46e19 commit b84cd93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sbysrc/sby.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,7 @@ def start_task(taskloop, taskname):

if opt_force and not reusedir:
early_log(my_workdir, f"Removing directory '{os.path.abspath(my_workdir)}'.")
if sbyfile:
shutil.rmtree(my_workdir, ignore_errors=True)
shutil.rmtree(my_workdir, ignore_errors=True)

if reusedir:
pass
Expand Down

0 comments on commit b84cd93

Please sign in to comment.