summaryrefslogtreecommitdiffstats
path: root/pym/portage/dep
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-11-26 20:37:41 -0800
committerZac Medico <zmedico@gentoo.org>2012-11-26 20:37:41 -0800
commit8fa262d62b885d5cd8251faa018695022311872a (patch)
treed0d11c932c42fcc8237f3960d9aadf1817bd7ef4 /pym/portage/dep
parent2083dae3fc52e2387d1c137c8aa203d083f13fc9 (diff)
downloadportage-8fa262d62b885d5cd8251faa018695022311872a.tar.gz
portage-8fa262d62b885d5cd8251faa018695022311872a.tar.bz2
portage-8fa262d62b885d5cd8251faa018695022311872a.zip
Rename Package.metadata to _metadata.
The raw metadata is considered a private low-level internal. This makes the Package class consistent with the _pkg_str class.
Diffstat (limited to 'pym/portage/dep')
-rw-r--r--pym/portage/dep/_slot_operator.py2
-rw-r--r--pym/portage/dep/dep_check.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/dep/_slot_operator.py b/pym/portage/dep/_slot_operator.py
index 1fdf904a1..2fcfb48b3 100644
--- a/pym/portage/dep/_slot_operator.py
+++ b/pym/portage/dep/_slot_operator.py
@@ -9,7 +9,7 @@ from _emerge.Package import Package
def find_built_slot_operator_atoms(pkg):
atoms = {}
for k in Package._dep_keys:
- atom_list = list(_find_built_slot_operator(use_reduce(pkg.metadata[k],
+ atom_list = list(_find_built_slot_operator(use_reduce(pkg._metadata[k],
uselist=pkg.use.enabled, eapi=pkg.eapi,
token_class=Atom)))
if atom_list:
diff --git a/pym/portage/dep/dep_check.py b/pym/portage/dep/dep_check.py
index 006e084df..b5f8d0d7e 100644
--- a/pym/portage/dep/dep_check.py
+++ b/pym/portage/dep/dep_check.py
@@ -160,7 +160,7 @@ def _expand_new_virtuals(mysplit, edebug, mydbapi, mysettings, myroot="/",
# According to GLEP 37, RDEPEND is the only dependency
# type that is valid for new-style virtuals. Repoman
# should enforce this.
- depstring = pkg.metadata['RDEPEND']
+ depstring = pkg._metadata['RDEPEND']
pkg_kwargs = kwargs.copy()
pkg_kwargs["myuse"] = pkg_use_enabled(pkg)
if edebug: