py3: handle keyword arguments correctly in color.py

Differential Revision: https://phab.mercurial-scm.org/D1627
This commit is contained in:
Pulkit Goyal 2017-12-10 04:45:27 +05:30
parent 217c0c34ad
commit cb53297841

View File

@ -484,7 +484,7 @@ if pycompat.iswindows:
_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):