changeset 10222:98f630e15d82

color: improve coding style
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 08 Jan 2010 20:56:28 +0100
parents 489b0caf21ed
children 51421ab573de
files hgext/color.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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]