# HG changeset patch # User Benoit Boissinot # Date 1262980588 -3600 # Node ID 98f630e15d8245b85e9bdd7addcc1a7e7e141f65 # Parent 489b0caf21edefb6ca0993a83440a37201ea3b99 color: improve coding style diff -r 489b0caf21ed -r 98f630e15d82 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]