From 1e16ec139dc6783e1f5967063e071b1f39eabc63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 16 Jan 2010 20:06:32 +0100 Subject: [PATCH] Revert to keyword args for string formatting, better for translators --- jhbuild/moduleset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jhbuild/moduleset.py b/jhbuild/moduleset.py index 37e1a464..c69f4dd9 100644 --- a/jhbuild/moduleset.py +++ b/jhbuild/moduleset.py @@ -53,8 +53,8 @@ class ModuleSet: for module in self.modules.keys(): if module.lower() == module_name_lower: if self.config is None or not self.config.quiet_mode: - logging.info(_('fixed case of module \'%s\' to \'%s\'') - % (module_name, module)) + logging.info(_('fixed case of module \'%(orig)s\' to \'%(new)s\'') % { + 'orig': module_name, 'new': module}) return self.modules[module] print "Couldn't find the specified module: %s" % module_name sys.exit(2) -- 2.11.4.GIT