Mercurial > hg
changeset 6993:b9d012ce8578
a socket error might be a tuple or a singleton
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sat, 06 Sep 2008 00:45:13 +0200 |
parents | ca6103c5eefd |
children | bf727bab38b9 |
files | mercurial/dispatch.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/dispatch.py Fri Sep 05 11:02:12 2008 +0200 +++ b/mercurial/dispatch.py Sat Sep 06 00:45:13 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)