projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74870c1
)
Bug #289068 - Avoid KeyError: USE when depgraph calls _getMissingLicenses.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 18 Oct 2009 03:22:11 +0000
(
03:22
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 18 Oct 2009 03:22:11 +0000
(
03:22
-0000)
(trunk r14610)
svn path=/main/branches/2.1.7/; revision=14639
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index 175cf4f193d70ab5e223c951a2d15c4d5dcd63eb..b2085a026a3bcc2a78fc7261cb430830b7ac0d45 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-2071,6
+2071,9
@@
class depgraph(object):
if metadata is not None:
pkg = self._pkg(cpv, pkg_type, root_config,
installed=installed)
+ # pkg.metadata contains calculated USE for ebuilds,
+ # required later for getMissingLicenses.
+ metadata = pkg.metadata
if pkg.cp != atom.cp:
# A cpv can be returned from dbapi.match() as an
# old-style virtual match even in cases when the