summaryrefslogtreecommitdiffstats
path: root/bin/egencache
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-30 12:46:30 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-30 12:46:30 +0000
commit8de9c598c6edf0f792a36700fa759b510acca368 (patch)
tree1dc6ac23ac2278028eaa143dff71f45f2d1a8093 /bin/egencache
parent7adee7505f157e608a2b74cb5d5a52341593a0da (diff)
downloadportage-8de9c598c6edf0f792a36700fa759b510acca368.tar.gz
portage-8de9c598c6edf0f792a36700fa759b510acca368.tar.bz2
portage-8de9c598c6edf0f792a36700fa759b510acca368.zip
Deprecate the first parameter of the portdbapi constructor since it is always
the same as mysettings['PORTDIR']. svn path=/main/trunk/; revision=15281
Diffstat (limited to 'bin/egencache')
-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: