summaryrefslogtreecommitdiffstats
path: root/textw/netconfig_text.py
diff options
context:
space:
mode:
Diffstat (limited to 'textw/netconfig_text.py')
-rw-r--r--textw/netconfig_text.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/textw/netconfig_text.py b/textw/netconfig_text.py
index 8698f85cf..986db2dd6 100644
--- a/textw/netconfig_text.py
+++ b/textw/netconfig_text.py
@@ -34,7 +34,9 @@ class NetworkConfiguratorText:
def _handleIPError(self, field, errmsg):
self.anaconda.intf.messageWindow(_("Error With Data"),
_("An error occurred converting the "
- "value entered for \"%s\":\n%s") % (field, errmsg))
+ "value entered for "
+ "\"%(field)s\":\n%(errmsg)s") \
+ % {'field': field, 'errmsg': errmsg})
def _handleIPMissing(self, field):
self.anaconda.intf.messageWindow(_("Error With Data"),