mercurial/exchange.py
changeset 26732 69ac9aebbc55
parent 26729 16e69e6b357b
child 26756 9e272a96f764
--- a/mercurial/exchange.py	Wed Oct 14 14:53:15 2015 -0400
+++ b/mercurial/exchange.py	Thu Oct 15 14:53:32 2015 -0700
@@ -1795,7 +1795,7 @@
             except urllib2.HTTPError as e:
                 ui.warn(_('HTTP error fetching bundle: %s\n') % str(e))
             except urllib2.URLError as e:
-                ui.warn(_('error fetching bundle: %s\n') % e.reason)
+                ui.warn(_('error fetching bundle: %s\n') % e.reason[1])
 
             return False
         finally: