mercurial/exchange.py
changeset 32652 9929af2b09b4
parent 32515 e70d6dbde713
parent 32453 9d6031df42c8
child 32709 16ada4cbb1a9
--- a/mercurial/exchange.py	Thu Jun 01 08:31:21 2017 -0700
+++ b/mercurial/exchange.py	Sat Jun 03 16:33:28 2017 -0400
@@ -1980,7 +1980,7 @@
             except urlerr.httperror as e:
                 ui.warn(_('HTTP error fetching bundle: %s\n') % str(e))
             except urlerr.urlerror as e:
-                ui.warn(_('error fetching bundle: %s\n') % e.reason[1])
+                ui.warn(_('error fetching bundle: %s\n') % e.reason)
 
             return False
         finally: