[blivet:master 07/20] Do not do formatting operation in the argument of the translation
mulhern
amulhern at redhat.com
Fri Apr 11 18:03:49 UTC 2014
Signed-off-by: mulhern <amulhern at redhat.com>
---
blivet/devicelibs/lvm.py | 2 +-
blivet/zfcp.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/blivet/devicelibs/lvm.py b/blivet/devicelibs/lvm.py
index ff767a9..d9de56c 100644
--- a/blivet/devicelibs/lvm.py
+++ b/blivet/devicelibs/lvm.py
@@ -411,7 +411,7 @@ def vginfo(vg_name):
buf = util.capture_output(["lvm"] + args)
info = parse_lvm_vars(buf)
if len(info.keys()) != 7:
- raise LVMError(_("vginfo failed for %s" % vg_name))
+ raise LVMError(_("vginfo failed for %s") % vg_name)
return info
diff --git a/blivet/zfcp.py b/blivet/zfcp.py
index 1321697..e20a0fb 100644
--- a/blivet/zfcp.py
+++ b/blivet/zfcp.py
@@ -125,8 +125,8 @@ class ZFCPDevice:
util.run_program(["zfcp_cio_free", "-d", self.devnum])
if not os.path.exists(online):
- raise ValueError(_("zFCP device %s not found, not even in device ignore list." % \
- (self.devnum,)))
+ raise ValueError(_("zFCP device %s not found, not even in device ignore list.") % \
+ (self.devnum,))
try:
f = open(online, "r")
--
1.8.3.1
More information about the anaconda-patches
mailing list