Commits

Peter Bex  committed ba358e2

Fix error message string substitution

  • Participants
  • Parent commits 0b6f102

Comments (0)

Files changed (1)

File egg-author.py

         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
 
         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