changeset 35351:a4478f74ad56

py3: handle keyword arguments correctly in color.py Differential Revision: https://phab.mercurial-scm.org/D1627
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 10 Dec 2017 04:45:27 +0530
parents 82ee401135dd
children 920cca6c8462
files mercurial/color.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):