# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1512861327 -19800 # Node ID a4478f74ad568e78150a732e44a561a131ed73e0 # Parent 82ee401135dd7616a3f4878d2effc2004a0cf5d0 py3: handle keyword arguments correctly in color.py Differential Revision: https://phab.mercurial-scm.org/D1627 diff -r 82ee401135dd -r a4478f74ad56 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):