color: improve coding style
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 08 Jan 2010 20:56:28 +0100
changeset 10222 98f630e15d82
parent 10221 489b0caf21ed
child 10223 51421ab573de
color: improve coding style
hgext/color.py
--- a/hgext/color.py	Sat Jan 09 00:25:56 2010 +0100
+++ b/hgext/color.py	Fri Jan 08 20:56:28 2010 +0100
@@ -106,7 +106,7 @@
     ui.pushbuffer()
     retval = orig(ui, repo, *pats, **opts)
     # filter out empty strings
-    lines_with_status = [ line for line in ui.popbuffer().split(delimiter) if line ]
+    lines_with_status = [line for line in ui.popbuffer().split(delimiter) if line]
 
     if nostatus:
         lines = [l[2:] for l in lines_with_status]