From 83bf81960ac6bf3f76c286ca065a5ac850c6870b Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Wed, 17 Apr 2019 19:02:15 +0200 Subject: [PATCH] Clean lint --- certbot/compat/os.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot/compat/os.py b/certbot/compat/os.py index 6a18780ce..c8fb3ef0a 100644 --- a/certbot/compat/os.py +++ b/certbot/compat/os.py @@ -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.')