mercurial/httprepo.py
changeset 3072 bc3fe3b5b785
parent 2859 345bac2bc4ec
child 3131 cff3c58a5766
--- a/mercurial/httprepo.py	Fri Sep 08 02:16:16 2006 +0200
+++ b/mercurial/httprepo.py	Fri Sep 08 09:36:18 2006 +0200
@@ -325,7 +325,7 @@
                     rfp.close()
             except socket.error, err:
                 if err[0] in (errno.ECONNRESET, errno.EPIPE):
-                    raise util.Abort(_('push failed: %s'), err[1])
+                    raise util.Abort(_('push failed: %s') % err[1])
                 raise util.Abort(err[1])
         finally:
             fp.close()