D1627: py3: handle keyword arguments correctly in color.py

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sat Dec 9 21:06:21 EST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa4478f74ad56: py3: handle keyword arguments correctly in color.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1627?vs=4294&id=4307

REVISION DETAIL
  https://phab.mercurial-scm.org/D1627

AFFECTED FILES
  mercurial/color.py

CHANGE DETAILS

diff --git a/mercurial/color.py b/mercurial/color.py
--- a/mercurial/color.py
+++ b/mercurial/color.py
@@ -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):



To: pulkit, #hg-reviewers, durin42
Cc: mercurial-devel


More information about the Mercurial-devel mailing list