py3: handle keyword arguments correctly in color.py
authorPulkit Goyal <7895pulkit@gmail.com>
Sun, 10 Dec 2017 04:45:27 +0530
changeset 35351 a4478f74ad56
parent 35350 82ee401135dd
child 35352 920cca6c8462
py3: handle keyword arguments correctly in color.py Differential Revision: https://phab.mercurial-scm.org/D1627
mercurial/color.py
--- a/mercurial/color.py	Sun Dec 10 04:45:10 2017 +0530
+++ b/mercurial/color.py	Sun Dec 10 04:45:27 2017 +0530
@@ -484,7 +484,7 @@
             _win32print(ui, text, writefunc, **opts)
 
     def _win32print(ui, text, writefunc, **opts):
-        label = opts.get('label', '')
+        label = opts.get(r'label', '')
         attr = origattr
 
         def mapcolor(val, attr):