aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Bex <peter@more-magic.net>2012-04-09 18:24:31 +0200
committerPeter Bex <peter@more-magic.net>2012-04-09 18:24:31 +0200
commitc7357b1f638c4dd99910fcfceb0212fb80680300 (patch)
treed12b6b189c375a7bb15f7c807f087e981f5bc1e3
parent864d39899946930cb726d93b1a47a1e61eab5a26 (diff)
downloadhg-egg-author-c7357b1f638c4dd99910fcfceb0212fb80680300.tar.gz
Fix error message string substitutionHEADmaster
-rw-r--r--egg-author.py4
1 files 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