mercurial/color.py
changeset 31089 a2ee25ff75e5
parent 31088 75c4aafee490
child 31100 8903f67b9ca8
--- a/mercurial/color.py	Fri Feb 24 21:31:47 2017 +0100
+++ b/mercurial/color.py	Fri Feb 24 21:34:07 2017 +0100
@@ -288,7 +288,11 @@
             ansire = re.compile('\033\[([^m]*)m([^\033]*)(.*)',
                                 re.MULTILINE | re.DOTALL)
 
-    def win32print(text, writefunc, **opts):
+    def win32print(writefunc, *msgs, **opts):
+        for text in msgs:
+            _win32print(text, writefunc, **opts)
+
+    def _win32print(text, writefunc, **opts):
         label = opts.get('label', '')
         attr = origattr