From e4dd229927a99547a33b95c80dfa55fbabdfaf3a Mon Sep 17 00:00:00 2001 From: Guido Trotter <ultrotter@google.com> Date: Fri, 22 Jan 2010 14:45:58 +0100 Subject: [PATCH] KVM: fix pylint warning Specify string format arguments as logging function parameters Signed-off-by: Guido Trotter <ultrotter@google.com> --- lib/hypervisor/hv_kvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hypervisor/hv_kvm.py b/lib/hypervisor/hv_kvm.py index d474627bb..28bcdc26e 100644 --- a/lib/hypervisor/hv_kvm.py +++ b/lib/hypervisor/hv_kvm.py @@ -686,7 +686,7 @@ class KVMHypervisor(hv_base.BaseHypervisor): if not result.stdout: logging.info("KVM: empty 'info migrate' result") else: - logging.warning("KVM: unknown 'info migrate' result: %s" % + logging.warning("KVM: unknown 'info migrate' result: %s", result.stdout) time.sleep(self._MIGRATION_INFO_RETRY_DELAY) else: -- GitLab