Update certbot/compat/os.py

Co-Authored-By: ohemorange <ebportnoy@gmail.com>
This commit is contained in:
Adrien Ferrand 2019-05-25 09:16:34 +02:00 committed by GitHub
parent 14a5c9a50d
commit afc21aa8ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ del ourselves, std_os, std_sys
# mode, and will create a file with the same flaws that what have been described for os.chown.
# So upon file creation, security.take_ownership will be called to ensure current user is the owner
# of the file, and security.chmod will do the same thing than for the modified os.chown.
# Internally, take_ownership will update the existing metdata of the file, to set the current
# Internally, take_ownership will update the existing metadata of the file, to set the current
# username (determined by the win32api module) as the owner of the file.
def open(*unused_args, **unused_kwargs): # pylint: disable=function-redefined
"""Method os.open() is forbidden"""