Remove use_cache parameter from setcpv call since it is deprecated.
authorFuzzyRay <fuzzyray@gentoo.org>
Tue, 28 Dec 2010 20:28:46 +0000 (14:28 -0600)
committerFuzzyRay <fuzzyray@gentoo.org>
Tue, 28 Dec 2010 20:28:46 +0000 (14:28 -0600)
Bug 349342

pym/gentoolkit/flag.py

index 7643cfe99311c2acc81732d81a0af556a4eac90f..a7d944f4b91a6bc2cd8e2da9ee6652e1f3bba7d5 100644 (file)
@@ -129,7 +129,7 @@ def get_all_cpv_use(cpv):
        use = None
        PORTDB.settings.unlock()
        try:
-               PORTDB.settings.setcpv(cpv, use_cache=True, mydb=portage.portdb)
+               PORTDB.settings.setcpv(cpv, mydb=portage.portdb)
                use = portage.settings['PORTAGE_USE'].split()
                use_expand_hidden = portage.settings["USE_EXPAND_HIDDEN"].split()
                usemask = list(PORTDB.settings.usemask)