diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-08-18 09:49:17 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-08-18 09:49:17 +0530 |
commit | 6810cce38ceb2bc44b1edbde3148ecc062f5c350 (patch) | |
tree | 44da237d9eca7708d42fcf41fba73fb635b11427 /scripts | |
parent | Many packages moved to the tree, see stat (diff) | |
download | gnome-6810cce38ceb2bc44b1edbde3148ecc062f5c350.tar.gz gnome-6810cce38ceb2bc44b1edbde3148ecc062f5c350.tar.bz2 gnome-6810cce38ceb2bc44b1edbde3148ecc062f5c350.zip |
obsolete_ebuilds.py: update to latest portage API
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/obsolete_ebuilds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/obsolete_ebuilds.py b/scripts/obsolete_ebuilds.py index 4413cf90..818c207d 100755 --- a/scripts/obsolete_ebuilds.py +++ b/scripts/obsolete_ebuilds.py @@ -90,7 +90,7 @@ def get_obsolete(cp): # Ignore PORTDIR package.masked cpvs for cpv in cpvs: try: - metadata = {'SLOT': portdb.aux_get(cpv, ['SLOT'])} + metadata = {'SLOT': portdb.aux_get(cpv, ['SLOT'])[0]} except KeyError: # masked by corruption continue |