Fix regular expression queries to work properly. (Bug 447406)
authorPaul Varner <fuzzyray@gentoo.org>
Fri, 4 Jan 2013 22:16:36 +0000 (16:16 -0600)
committerPaul Varner <fuzzyray@gentoo.org>
Fri, 4 Jan 2013 22:16:36 +0000 (16:16 -0600)
commitde264bbe75fe45ff7d457343a8a8a5f96cd14a7f
treefdaea8b80ef2452b87f98f9cac675ce753ae4883
parent377dae69453689db43aa122b2a2c0cab762846bb
Fix regular expression queries to work properly. (Bug 447406)

There were two issues in the code:
1. query.py was trying to treat regular expressions as CPVs
2. helpers.py get_cpv functions were applying the predicate to only
   the CPs and not all of the CPVs
pym/gentoolkit/helpers.py
pym/gentoolkit/query.py