summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-02 18:26:26 +0000
committerZac Medico <zmedico@gentoo.org>2010-03-02 18:26:26 +0000
commitf1483b468e9f6d9fe020aa3e899230e5e5c7b6ca (patch)
tree55ec9ff5328751ce45f5e4166fd3eb4a59c09709 /bin
parente9ab502d9806a227ebcc967e46718435e64a96bc (diff)
downloadportage-f1483b468e9f6d9fe020aa3e899230e5e5c7b6ca.tar.gz
portage-f1483b468e9f6d9fe020aa3e899230e5e5c7b6ca.tar.bz2
portage-f1483b468e9f6d9fe020aa3e899230e5e5c7b6ca.zip
Deprecate the first parameter of the portdbapi constructor since it is always
the same as mysettings['PORTDIR']. (trunk r15281) svn path=/main/branches/2.1.7/; revision=15520
Diffstat (limited to 'bin')
-rwxr-xr-xbin/egencache2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/egencache b/bin/egencache
index 64429296d..78d2f1f5b 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -326,7 +326,7 @@ def egencache_main(args):
settings.lock()
- portdb = portage.portdbapi(settings["PORTDIR"], mysettings=settings)
+ portdb = portage.portdbapi(mysettings=settings)
if options.repo is not None:
repo_path = portdb.getRepositoryPath(options.repo)
if repo_path is None: