diff options
author | Krzysztof Pawlik <none@none> | 2011-06-28 16:10:25 +0200 |
---|---|---|
committer | Krzysztof Pawlik <none@none> | 2011-06-28 16:10:25 +0200 |
commit | 968dfe849434155208c4d8a3c2f64f5fb3f1328c (patch) | |
tree | b882559873c71fd169c3f97b83081cf99e38fc41 /scripts | |
parent | Remove old versions, update digest, small QA fixes. (diff) | |
download | nelchael-968dfe849434155208c4d8a3c2f64f5fb3f1328c.tar.gz nelchael-968dfe849434155208c4d8a3c2f64f5fb3f1328c.tar.bz2 nelchael-968dfe849434155208c4d8a3c2f64f5fb3f1328c.zip |
Fixes for new portage API.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/eshowkw.py | 2 | ||||
-rwxr-xr-x | scripts/sys-unneeded-distfiles.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/eshowkw.py b/scripts/eshowkw.py index 29938c2..00f5632 100755 --- a/scripts/eshowkw.py +++ b/scripts/eshowkw.py @@ -171,4 +171,4 @@ for i in portage.settings['ACCEPT_KEYWORDS'].split(): if i[0] == '~': myArch = i[1:] -showMe(myArch, portage.portdbapi(portage.settings['PORTDIR']), pkg) +showMe(myArch, portage.portdbapi(mysettings=portage.settings), pkg) diff --git a/scripts/sys-unneeded-distfiles.py b/scripts/sys-unneeded-distfiles.py index 8deb1ca..cd5ca62 100755 --- a/scripts/sys-unneeded-distfiles.py +++ b/scripts/sys-unneeded-distfiles.py @@ -87,7 +87,7 @@ echo(output.green('Using DB directories: ')) for i in DBPATHS: echo(output.blue(' * ') + i) -db = portage.portdbapi(portdir) +db = portage.portdbapi(mysettings=portage.settings) if not silent: print output.green('Gathering files... '), |