Re: [gentoo-portage-dev] [PATCH] dispatch-conf: do regex matching ourselves

2012-03-08 Thread Zac Medico
On 03/08/2012 01:48 PM, Mike Frysinger wrote: This avoids having to pipe through multiple greps, as well as running diff multiple times on the same set of files. It all looks good to me, except you need to use list(filter(...)) for python3 compatibility, since filter() returns an iterator in p

[gentoo-portage-dev] [PATCH] dispatch-conf: do regex matching ourselves

2012-03-08 Thread Mike Frysinger
This avoids having to pipe through multiple greps, as well as running diff multiple times on the same set of files. Signed-off-by: Mike Frysinger --- bin/dispatch-conf| 37 - pym/portage/dispatch_conf.py |8 2 files changed, 28 inser