mercurial/debugcommands.py
changeset 40017 426cb2859013
parent 39980 d71e0ba34d9b
child 40029 e2697acd9381
--- a/mercurial/debugcommands.py	Wed Oct 03 22:48:19 2018 +0900
+++ b/mercurial/debugcommands.py	Wed Sep 26 14:54:15 2018 -0700
@@ -3334,7 +3334,7 @@
             ct = res.headers.get(r'Content-Type')
             if ct == r'application/mercurial-cbor':
                 ui.write(_('cbor> %s\n') %
-                         stringutil.pprint(cborutil.decodeall(body)[0],
+                         stringutil.pprint(cborutil.decodeall(body),
                                            bprefix=True,
                                            indent=2))