diff mercurial/exchange.py @ 33032:4e6dc34b5d7a

py3: convert kwargs keys' back to bytes using pycompat.byteskwargs()
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 22 Jun 2017 03:10:24 +0530
parents 03608e8d09e9
children c31d45623304
line wrap: on
line diff
--- a/mercurial/exchange.py	Thu Jun 22 01:29:07 2017 +0530
+++ b/mercurial/exchange.py	Thu Jun 22 03:10:24 2017 +0530
@@ -1582,6 +1582,7 @@
 
     Returns an iterator over raw chunks (of varying sizes).
     """
+    kwargs = pycompat.byteskwargs(kwargs)
     usebundle2 = bundle2requested(bundlecaps)
     # bundle10 case
     if not usebundle2: