equery: turn sys.argv into a parameter
authorMike Frysinger <vapier@gentoo.org>
Wed, 4 Apr 2012 18:07:59 +0000 (14:07 -0400)
committerPaul Varner <fuzzyray@gentoo.org>
Wed, 4 Apr 2012 20:59:42 +0000 (15:59 -0500)
commitd3d353c5d9de561d72900c757c49671febe824ea
tree93d567e80ae0046744247238b5230a057e8d937a
parent1ec0b2f81f2186c10411240a3b590c67dc341e1b
equery: turn sys.argv into a parameter

This lets other tools import equery and call the main func with its own
set of flags.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Paul Varner <fuzzyray@gentoo.org>
bin/equery
pym/gentoolkit/equery/__init__.py