[PATCH 2/3] Fix a couple places where we're doing % inside of _().
Chris Lumens
clumens at redhat.com
Thu Nov 7 17:10:44 UTC 2013
---
pyanaconda/kickstart.py | 2 +-
pyanaconda/ui/tui/spokes/network.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 522022f..edb4f92 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -157,7 +157,7 @@ def getEscrowCertificate(escrowCerts, url):
try:
f = urlgrabber.urlopen(url)
except urlgrabber.grabber.URLGrabError as e:
- msg = _("The following error was encountered while downloading the escrow certificate:\n\n%s" % e)
+ msg = _("The following error was encountered while downloading the escrow certificate:\n\n%s") % e
raise KickstartError(msg)
try:
diff --git a/pyanaconda/ui/tui/spokes/network.py b/pyanaconda/ui/tui/spokes/network.py
index f4b99dc..0f2ba83 100644
--- a/pyanaconda/ui/tui/spokes/network.py
+++ b/pyanaconda/ui/tui/spokes/network.py
@@ -272,7 +272,7 @@ class ConfigureNetworkSpoke(EditTUISpoke):
def refresh(self, args=None):
""" Refresh window. """
EditTUISpoke.refresh(self, args)
- message = _("Configuring device %s." % self.args.device)
+ message = _("Configuring device %s.") % self.args.device
self._window += [TextWidget(message), ""]
return True
--
1.8.3.1
More information about the anaconda-patches
mailing list