projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1024e03
)
Merged from trunk 6252:6253
author
Fabian Groffen
<grobian@gentoo.org>
Tue, 20 Mar 2007 20:02:52 +0000
(20:02 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Tue, 20 Mar 2007 20:02:52 +0000
(20:02 -0000)
Appropriately return from _getMissingLicenses() if one of the choices is
satisfied.
svn path=/main/branches/prefix/; revision=6254
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 25bfc331512b2e5425112ee5b988ac376c07f2ba..05ac243b94bbba6c30ea7e0790263c6c1a4b332b 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-1783,6
+1783,8
@@
class config:
if isinstance(element, list):
if element:
ret.append(self._getMissingLicenses(element))
+ if not ret[-1]:
+ return []
else:
if element in acceptable_licenses:
return []