Fix a pygettext complaint
authorMatt Mackall <mpm@selenic.com>
Thu, 14 Dec 2006 17:32:25 -0600
changeset 3984 f82b3f915605
parent 3983 c22251414b46
child 3985 4874ca8a53c1
Fix a pygettext complaint
mercurial/ui.py
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -350,7 +350,7 @@ class ui(object):
                 user = '%s@%s' % (util.getuser(), socket.getfqdn())
             except KeyError:
                 raise util.Abort(_("Please specify a username."))
-            self.warn(_("No username found, using '%s' instead\n" % user))
+            self.warn(_("No username found, using '%s' instead\n") % user)
         return user
 
     def shortuser(self, user):