summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/actions.py
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/_emerge/actions.py
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/_emerge/actions.py')
-rw-r--r--pym/_emerge/actions.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index cd52ddb1b..b64614e1d 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -706,7 +706,7 @@ def calc_depclean(settings, trees, ldpath_mtimes,
continue
except portage.exception.InvalidDependString as e:
show_invalid_depstring_notice(pkg,
- pkg.metadata["PROVIDE"], str(e))
+ pkg._metadata["PROVIDE"], _unicode(e))
del e
protected_set.add("=" + pkg.cpv)
continue
@@ -760,7 +760,7 @@ def calc_depclean(settings, trees, ldpath_mtimes,
continue
except portage.exception.InvalidDependString as e:
show_invalid_depstring_notice(pkg,
- pkg.metadata["PROVIDE"], str(e))
+ pkg._metadata["PROVIDE"], _unicode(e))
del e
protected_set.add("=" + pkg.cpv)
continue
@@ -778,7 +778,7 @@ def calc_depclean(settings, trees, ldpath_mtimes,
required_sets['__excluded__'].add("=" + pkg.cpv)
except portage.exception.InvalidDependString as e:
show_invalid_depstring_notice(pkg,
- pkg.metadata["PROVIDE"], str(e))
+ pkg._metadata["PROVIDE"], _unicode(e))
del e
required_sets['__excluded__'].add("=" + pkg.cpv)
@@ -1168,7 +1168,7 @@ def calc_depclean(settings, trees, ldpath_mtimes,
for node in clean_set:
graph.add(node, None)
for dep_type in Package._dep_keys:
- depstr = node.metadata[dep_type]
+ depstr = node._metadata[dep_type]
if not depstr:
continue
priority = priority_map[dep_type]