mercurial/ui.py
changeset 27110 f04bd381e8c0
parent 27109 a93d53f79e6e
child 27153 3553e40d0770
--- a/mercurial/ui.py	Tue Nov 24 11:23:10 2015 -0800
+++ b/mercurial/ui.py	Sun Nov 22 14:44:55 2015 -0800
@@ -622,11 +622,11 @@
         a label of "status.modified" for modified files.
         '''
         if self._buffers:
-            self._buffers[-1].extend([str(a) for a in args])
+            self._buffers[-1].extend(a for a in args)
         else:
             self._progclear()
             for a in args:
-                self.fout.write(str(a))
+                self.fout.write(a)
 
     def write_err(self, *args, **opts):
         self._progclear()
@@ -636,7 +636,7 @@
             if not getattr(self.fout, 'closed', False):
                 self.fout.flush()
             for a in args:
-                self.ferr.write(str(a))
+                self.ferr.write(a)
             # stderr may be buffered under win32 when redirected to files,
             # including stdout.
             if not getattr(self.ferr, 'closed', False):