[PATCH 2/2] Call % outside of the translation

David Shea dshea at redhat.com
Tue Mar 4 20:45:41 UTC 2014


---
 pyanaconda/ui/gui/spokes/lib/dasdfmt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/lib/dasdfmt.py b/pyanaconda/ui/gui/spokes/lib/dasdfmt.py
index 8666b56..c0018fe 100644
--- a/pyanaconda/ui/gui/spokes/lib/dasdfmt.py
+++ b/pyanaconda/ui/gui/spokes/lib/dasdfmt.py
@@ -90,7 +90,7 @@ class DasdFormatDialog(GUIObject):
         """ Loop through our disks and run dasdfmt against them. """
         for disk in self.to_format:
             try:
-                gtk_call_once(self._formatting_label.set_text, _("Formatting /dev/%s. This may take a moment." % disk))
+                gtk_call_once(self._formatting_label.set_text, _("Formatting /dev/%s. This may take a moment.") % disk)
                 format_dasd(disk)
             except DasdFormatError as err:
                 # Log errors if formatting fails, but don't halt the installer
-- 
1.9.0



More information about the anaconda-patches mailing list