Pylint (logging-not-lazy) warning Specify string format arguments as logging function parameters Signed-off-by: Radostin Stoyanov <rstoyanov1@xxxxxxxxx> --- src/virtBootstrap/virt_bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virtBootstrap/virt_bootstrap.py b/src/virtBootstrap/virt_bootstrap.py index f70acbd..b486ac3 100755 --- a/src/virtBootstrap/virt_bootstrap.py +++ b/src/virtBootstrap/virt_bootstrap.py @@ -151,7 +151,7 @@ def bootstrap(uri, dest, if root_password: if root_password.startswith('file:'): root_password_file = root_password[len('file:'):] - logger.debug("Reading root password from file %s" % + logger.debug("Reading root password from file %s", root_password_file) with open(root_password_file) as pwdfile: root_password = pwdfile.readline().rstrip("\n\r") -- 2.21.0 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list