Simplify windows exclusive file implementation by using msvcrt.locking as a fcntl substitute

This commit is contained in:
Kovid Goyal
2017-05-03 15:13:28 +05:30
parent ebe67702fd
commit 0fdf23de8b
4 changed files with 179 additions and 194 deletions
+2
View File
@@ -66,6 +66,8 @@ def find_tests(which_tests=None):
a(find_tests())
from calibre.utils.shared_file import find_tests
a(find_tests())
from calibre.utils.test_lock import find_tests
a(find_tests())
if ok('dbcli'):
from calibre.db.cli.tests import find_tests
a(find_tests())