summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-01-15 03:15:50 +0530
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-01-15 03:19:15 +0530
commit62067dc0a4e30de23ffee82e742ea92bd4b08c04 (patch)
tree5b816ea0b41ff178bb67d1b3a8b420cb965fd2be
parentMove code around to allow usage of portage constants (diff)
downloadgentoo-bumpchecker-62067dc0a4e30de23ffee82e742ea92bd4b08c04.tar.gz
gentoo-bumpchecker-62067dc0a4e30de23ffee82e742ea92bd4b08c04.tar.bz2
gentoo-bumpchecker-62067dc0a4e30de23ffee82e742ea92bd4b08c04.zip
portage_module: Port to newer portage
* portdb.repositories is no more, and wasn't used anywhere
-rw-r--r--modules/portage_module.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/portage_module.py b/modules/portage_module.py
index d15deb5..eb2243a 100644
--- a/modules/portage_module.py
+++ b/modules/portage_module.py
@@ -93,14 +93,12 @@ def find_packages_in_tree(package_list, portdir=None, all_overlays=False, overla
# stable
mysettings = portage.config(clone=portdbsettings)
mysettings['ACCEPT_KEYWORDS'] = 'amd64' # the arch I care for :]
- mysettings.repositories = portdbsettings.repositories
olddbapi_kw = portdbapi
portdbapi = portage.portdbapi(mysettings['PORTDIR'], mysettings=mysettings)
else:
#testing
mysettings = portage.config(clone=portdbsettings)
mysettings['ACCEPT_KEYWORDS'] = 'amd64 ~amd64' # the arch I care for :]
- mysettings.repositories = portdbsettings.repositories
olddbapi_kw = portdbapi
portdbapi = portage.portdbapi(mysettings['PORTDIR'], mysettings=mysettings)