projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4e388a
)
KVM: fix pylint warning
author
Guido Trotter
<ultrotter@google.com>
Fri, 22 Jan 2010 13:45:58 +0000
(14:45 +0100)
committer
Guido Trotter
<ultrotter@google.com>
Fri, 22 Jan 2010 13:45:58 +0000
(14:45 +0100)
Specify string format arguments as logging function parameters
Signed-off-by: Guido Trotter <ultrotter@google.com>
lib/hypervisor/hv_kvm.py
patch
|
blob
|
history
diff --git
a/lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py
index
d474627
..
28bcdc2
100644
(file)
--- 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: