From c7357b1f638c4dd99910fcfceb0212fb80680300 Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Mon, 9 Apr 2012 18:24:31 +0200 Subject: Fix error message string substitution --- egg-author.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egg-author.py b/egg-author.py index 8155c50..4ff11b8 100644 --- a/egg-author.py +++ b/egg-author.py @@ -41,7 +41,7 @@ def _find_egg_info_file(repo, type): for fn in x: if fnmatch.fnmatch(fn, "*.%s" % type): if egg_info_file: - raise util.Abort(_('Found more than one %s file!' % type)) + raise util.Abort(_('Found more than one %s file!') % type) else: egg_info_file = fn @@ -53,7 +53,7 @@ def _find_egg_info_file(repo, type): else: raise util.Abort(_('No help URI for egg file type %s') % type) raise util.Abort(_('Could not find %s file. You need to ' - 'create one first. See %s for more info.') % help_uri) + 'create one first. See %s for more info.') % (type, help_uri)) return egg_info_file -- cgit v1.2.3