mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Clean lint
This commit is contained in:
@@ -36,7 +36,7 @@ del ourselves, std_os, std_sys
|
||||
# os.replace on Windows for Python 3, that will do the same than on POSIX. Hopefully also, only
|
||||
# Python 3 is supported for Certbot. So we can rely on os.rename on Linux, and os.replace
|
||||
# on Windows.
|
||||
def rename(*unused_args, **unused_kwargs): # pylint: disable=function-redefined
|
||||
def rename(*unused_args, **unused_kwargs):
|
||||
"""Method os.rename() is forbidden"""
|
||||
raise RuntimeError('Usage of os.rename() is forbidden. ' # pragma: no cover
|
||||
'Use certbot.compat.misc.os_rename() instead.')
|
||||
|
||||
Reference in New Issue
Block a user