[pykickstart:rhel7/master 1/5] Do not reference non-existant attribute (#1117908)

mulhern amulhern at redhat.com
Wed Sep 10 18:44:06 UTC 2014


Related: rhbz#1117908

Signed-off-by: mulhern <amulhern at redhat.com>
---
 pykickstart/commands/logvol.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pykickstart/commands/logvol.py b/pykickstart/commands/logvol.py
index 5f1f011..f1fc882 100644
--- a/pykickstart/commands/logvol.py
+++ b/pykickstart/commands/logvol.py
@@ -473,7 +473,7 @@ class F20_LogVol(F18_LogVol):
             raise KickstartParseError(formatErrorMsg(self.lineno, msg=errorMsg))
 
         if not retval.preexist and not retval.percent and not retval.size:
-            errorMsg = _("No size given for logical volume \"%s\". Use one of --useexisting, --noformat, --size, or --percent.") % self.name
+            errorMsg = _("No size given for logical volume. Use one of --useexisting, --noformat, --size, or --percent.")
             raise KickstartParseError(formatErrorMsg(self.lineno, msg=errorMsg))
 
         if retval.percent is not None and (retval.percent < 0 or retval.percent > 100):
-- 
1.9.3



More information about the anaconda-patches mailing list