helpers: convert get_cpvs output to a set before calculating len()
authorW. Trevor King <wking@tremily.us>
Mon, 12 Nov 2012 02:06:58 +0000 (21:06 -0500)
committerW. Trevor King <wking@tremily.us>
Mon, 12 Nov 2012 02:06:58 +0000 (21:06 -0500)
commit14bb81fb3801caf6b09e7c4cbe2dfdc36cb03525
treed0f5f72abe0a8e97653bf49410bca2e9a3041202
parentcfe01271c3c64f290acf3ce3ae42eb55887e295d
helpers: convert get_cpvs output to a set before calculating len()

This avoids "TypeError: object of type 'generator' has no len()".
pym/gentoolkit/helpers.py