uniqify the list of returned use flags in uses.py. Bug 368113
authorPaul Varner <fuzzyray@gentoo.org>
Fri, 20 May 2011 05:27:17 +0000 (00:27 -0500)
committerPaul Varner <fuzzyray@gentoo.org>
Fri, 20 May 2011 05:27:17 +0000 (00:27 -0500)
pym/gentoolkit/equery/uses.py

index 08ff585c3c8385a234048b82f0241ba214377a30..6b9eb9eb7a771e14eff6a1a4b54746952f0ce904 100644 (file)
@@ -175,7 +175,7 @@ def get_output_descriptions(pkg, global_usedesc):
                local_usedesc = pkg.metadata.use()
 
        iuse, final_use = get_flags(pkg.cpv, final_setting=True)
-       usevar = reduce_flags(iuse)
+       usevar = uniqify(reduce_flags(iuse))
        usevar.sort()