mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
Update certbot/lock.py
Co-Authored-By: ohemorange <ebportnoy@gmail.com>
This commit is contained in:
parent
fe041ff9ff
commit
14a5c9a50d
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ class _WindowsLockMechanism(_BaseLockMechanism):
|
|||
A Windows lock file mechanism.
|
||||
By default on Windows, acquiring a file handler gives exclusive access to the process
|
||||
and results in an effective lock. However, it is possible to explicitly acquire the
|
||||
file handler in shared access in terms of read and write, and this is done by security.open
|
||||
file handler in shared access in terms of read and write, and this is done by filesystem.open
|
||||
and io.open in Python. So an explicit lock needs to be done through the call of
|
||||
msvcrt.locking, that will lock the first byte of the file. In theory, it is also
|
||||
possible to access a file in shared delete access, allowing other processes to delete an
|
||||
|
|
|
|||
Loading…
Reference in a new issue