Skip to content

Commit

Permalink
Fix file cleanup after benchmark runs.
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder committed Nov 2, 2022
1 parent 322965f commit a8bcdee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lockbench.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def main():

finally:
if basepath:
files = glob.glob(basepath)
files = glob.glob(basepath + ".*") # .c, .so / .pyd
if len(files) > 3:
print("Found too many artefacts, not deleting temporary files")
else:
Expand Down

0 comments on commit a8bcdee

Please sign in to comment.