diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-11-26 20:37:41 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-11-26 20:37:41 -0800 |
commit | 8fa262d62b885d5cd8251faa018695022311872a (patch) | |
tree | d0d11c932c42fcc8237f3960d9aadf1817bd7ef4 /pym/_emerge/Scheduler.py | |
parent | 2083dae3fc52e2387d1c137c8aa203d083f13fc9 (diff) | |
download | portage-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.py | 4 |
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" |