summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/Scheduler.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/Scheduler.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/Scheduler.py')
-rw-r--r--pym/_emerge/Scheduler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py
index ff2938020..72f1943e8 100644
--- a/pym/_emerge/Scheduler.py
+++ b/pym/_emerge/Scheduler.py
@@ -409,7 +409,7 @@ class Scheduler(PollScheduler):
if not (isinstance(task, Package) and \
task.operation == "merge"):
continue
- if 'interactive' in task.metadata.properties:
+ if 'interactive' in task._metadata.properties:
interactive_tasks.append(task)
return interactive_tasks
@@ -786,7 +786,7 @@ class Scheduler(PollScheduler):
if x.eapi in ("0", "1", "2", "3"):
continue
- if "pretend" not in x.metadata.defined_phases:
+ if "pretend" not in x._metadata.defined_phases:
continue
out_str =">>> Running pre-merge checks for " + colorize("INFORM", x.cpv) + "\n"