mercurial/ui.py
changeset 3891 a0b18a8e0460
parent 3886 abaee83ce0a6
child 3893 6b4127c7d52a
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -349,7 +349,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):