mercurial/ui.py
changeset 3984 f82b3f915605
parent 3737 9f5c46c50118
child 3989 e492ab235b4d
child 4044 78a0dd93db0b
--- 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):