Fix action_config() broken vardbapi.findname().
authorZac Medico <zmedico@gentoo.org>
Sat, 2 Oct 2010 16:03:24 +0000 (09:03 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 2 Oct 2010 16:03:24 +0000 (09:03 -0700)
pym/_emerge/actions.py

index 68e692bc3cc17794e652413553eec39702ff8561..7b7114849006a0eced3f4e274a82afad41b0eea9 100644 (file)
@@ -512,7 +512,7 @@ def action_config(settings, trees, myopts, myfiles):
        else:
                print("Configuring pkg...")
        print()
-       ebuildpath = trees[settings["ROOT"]]["vartree"].dbapi.findname(pkg, myrepo=pkg.repo)
+       ebuildpath = trees[settings["ROOT"]]["vartree"].dbapi.findname(pkg)
        mysettings = portage.config(clone=settings)
        vardb = trees[mysettings["ROOT"]]["vartree"].dbapi
        debug = mysettings.get("PORTAGE_DEBUG") == "1"