[PATCH] ui: remove redundant list
Idan Kamara
idankk86 at gmail.com
Sat Apr 9 15:54:39 CDT 2011
# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1302382390 -10800
# Node ID 36a2b3ffdd067917fc8e0a2da94d3567270058a3
# Parent 8f81d6f4047fedc325dc0ff7ba507188d7b9d67d
ui: remove redundant list
diff -r 8f81d6f4047f -r 36a2b3ffdd06 mercurial/ui.py
--- a/mercurial/ui.py Fri Apr 08 17:47:58 2011 +0300
+++ b/mercurial/ui.py Sat Apr 09 23:53:10 2011 +0300
@@ -373,7 +373,7 @@
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(str(a) for a in args)
else:
for a in args:
sys.stdout.write(str(a))
More information about the Mercurial-devel
mailing list