VirtualMailManager/Config.py
changeset 51 f5ca21303871
parent 49 9bd033177377
child 53 5b50eb306d37
--- a/VirtualMailManager/Config.py	Tue Aug 19 04:30:34 2008 +0000
+++ b/VirtualMailManager/Config.py	Wed Aug 20 02:22:43 2008 +0000
@@ -130,8 +130,8 @@
                 print _(u'* Config section: »%s«') % s
             for opt, val in self.items(s):
                 newval = raw_input(
-                _('Enter new value for option %s [%s]: ').encode(
-                    ENCODING, 'replace') % (opt, val))
+                _('Enter new value for option %(opt)s [%(val)s]: ').encode(
+                    ENCODING, 'replace') % {'opt': opt, 'val': val})
                 if newval and newval != val:
                     self.set(s, opt, newval)
                     self.__changes = True