projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eab9452
)
Don't call metadata.get() if metadata is None.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 3 Oct 2010 00:09:44 +0000
(17:09 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 3 Oct 2010 00:09:44 +0000
(17:09 -0700)
pym/portage/package/ebuild/getmaskingreason.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/getmaskingreason.py
b/pym/portage/package/ebuild/getmaskingreason.py
index 000bb406ceaf55c309657254f6bdab811e3e900e..62a1f29a2157c6596458fc3c116584c631992a1d 100644
(file)
--- a/
pym/portage/package/ebuild/getmaskingreason.py
+++ b/
pym/portage/package/ebuild/getmaskingreason.py
@@
-22,7
+22,7
@@
def getmaskingreason(mycpv, metadata=None, settings=None, portdb=None, return_lo
if metadata is None:
db_keys = list(portdb._aux_cache_keys)
try:
- metadata = dict(zip(db_keys, portdb.aux_get(mycpv, db_keys
, myrepo=metadata.get('repository')
)))
+ metadata = dict(zip(db_keys, portdb.aux_get(mycpv, db_keys)))
except KeyError:
if not portdb.cpv_exists(mycpv):
raise