mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
py3: handle keyword arguments correctly in color.py
Differential Revision: https://phab.mercurial-scm.org/D1627
This commit is contained in:
parent
217c0c34ad
commit
cb53297841
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user