Skip to content

Commit 0c275a1

Browse files
committed
👹 Feed the hobgoblins (delint).
1 parent 8b9b473 commit 0c275a1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pytest_services/locks.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def lock_file(filename, content, operation):
3838
return handle
3939

4040

41-
4241
def try_remove(filename):
4342
try:
4443
os.unlink(filename)
@@ -56,7 +55,6 @@ def file_lock(filename, remove=True, timeout=20):
5655
with contextlib.closing(zc.lockfile.SimpleLockFile(filename)) as lockfile:
5756
yield lockfile._fp
5857

59-
6058
remove and try_remove(filename)
6159

6260

0 commit comments

Comments
 (0)