py3: fix args handling for obsfate template
authorPulkit Goyal <7895pulkit@gmail.com>
Wed, 29 Nov 2017 04:41:48 +0530
changeset 35143 6fe99a8e266d
parent 35142 3d6cac7e528c
child 35144 8f6641fa7c89
py3: fix args handling for obsfate template Differential Revision: https://phab.mercurial-scm.org/D1536
mercurial/templatekw.py
--- a/mercurial/templatekw.py	Wed Nov 29 06:48:52 2017 +0530
+++ b/mercurial/templatekw.py	Wed Nov 29 04:41:48 2017 +0530
@@ -608,6 +608,7 @@
     # the verbosity templatekw available.
     succsandmarkers = showsuccsandmarkers(**args)
 
+    args = pycompat.byteskwargs(args)
     ui = args['ui']
 
     values = []