mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Clean lint
This commit is contained in:
parent
2dae20933e
commit
83bf81960a
1 changed files with 1 additions and 1 deletions
|
|
@ -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.')
|
||||
|
|
|
|||
Loading…
Reference in a new issue