diff mercurial/exchange.py @ 33017:c31d45623304

py3: convert kwargs' keys' to str using pycompat.strkwargs() On Python 3, we must have keys of keyword arguments as str.
author Pulkit Goyal <7895pulkit@gmail.com>
date Thu, 22 Jun 2017 03:16:16 +0530
parents 4e6dc34b5d7a
children 3e102a8dd52c
line wrap: on
line diff
--- a/mercurial/exchange.py	Thu Jun 22 03:10:24 2017 +0530
+++ b/mercurial/exchange.py	Thu Jun 22 03:16:16 2017 +0530
@@ -1610,7 +1610,7 @@
     for name in getbundle2partsorder:
         func = getbundle2partsmapping[name]
         func(bundler, repo, source, bundlecaps=bundlecaps, b2caps=b2caps,
-             **kwargs)
+             **pycompat.strkwargs(kwargs))
 
     return bundler.getchunks()