mercurial/dispatch.py
changeset 6998 ddfcefab8b97
parent 6985 5cf3bf3c19ba
parent 6993 b9d012ce8578
child 7213 b4c035057d34
--- a/mercurial/dispatch.py	Fri Sep 05 11:04:36 2008 +0200
+++ b/mercurial/dispatch.py	Sat Sep 06 17:04:01 2008 +0200
@@ -90,7 +90,7 @@
             else:
                 raise
     except socket.error, inst:
-        ui.warn(_("abort: %s\n") % inst[1])
+        ui.warn(_("abort: %s\n") % inst[-1])
     except IOError, inst:
         if hasattr(inst, "code"):
             ui.warn(_("abort: %s\n") % inst)