Clean lint

This commit is contained in:
Adrien Ferrand 2019-04-17 19:02:15 +02:00
parent 2dae20933e
commit 83bf81960a

View file

@ -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.')