mercurial/httppeer.py
changeset 37669 1cb54e6193a6
parent 37654 8cea0d57bf37
child 37717 0664be4f0c1f
--- a/mercurial/httppeer.py	Sat Apr 14 02:06:03 2018 +0530
+++ b/mercurial/httppeer.py	Fri Apr 13 18:17:45 2018 -0400
@@ -754,7 +754,8 @@
                         try:
                             result.append(decoder.decode())
                         except Exception:
-                            f.set_exception_info(*sys.exc_info()[1:])
+                            pycompat.future_set_exception_info(
+                                f, sys.exc_info()[1:])
                             continue
                 else:
                     result.append(meta['data'])