[blivet][master][PATCH] Multiple arguments for string formatting need to be in parentheses (#1100263)
Martin Kolman
mkolman at redhat.com
Thu May 22 12:41:24 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 4a68529..fcd2c2a 100644
--- a/blivet/devices.py
+++ b/blivet/devices.py
@@ -2955,7 +2955,7 @@ class LVMLogicalVolumeDevice(DMDevice):
try:
vg_info = lvm.vginfo(self.vg.name)
except errors.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