[blivet][rhel7-branch][PATCH] Multiple arguments for string formatting need to be in parentheses (#1100263)
Martin Kolman
mkolman at redhat.com
Thu May 22 12:39:19 UTC 2014
Signed-off-by: Martin Kolman <mkolman at redhat.com>
---
blivet/devices.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/devices.py b/blivet/devices.py
index e403551..381a633 100644
--- a/blivet/devices.py
+++ b/blivet/devices.py
@@ -2721,7 +2721,7 @@ class LVMLogicalVolumeDevice(DMDevice):
try:
vg_info = lvm.vginfo(self.vg.name)
except LVMError as lvmerr:
- msg = "Failed to get free space for the %s VG: %s" % self.vg.name, lvmerr
+ msg = "Failed to get free space for the %s VG: %s" % (self.vg.name, lvmerr)
log.error(msg)
# nothing more can be done, we don't know the VG's free space
return
--
1.9.0
More information about the anaconda-patches
mailing list