Mercurial > public > mercurial-scm > hg
diff hgext/color.py @ 10222:98f630e15d82
color: improve coding style
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 08 Jan 2010 20:56:28 +0100 |
parents | 0c23b0b3516b |
children | 51421ab573de |
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]