projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7720c0
)
Return early from config.getMaskAtom() as soon as a matching
author
Zac Medico
<zmedico@gentoo.org>
Fri, 2 Nov 2007 08:33:47 +0000
(08:33 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 2 Nov 2007 08:33:47 +0000
(08:33 -0000)
unmask atom is found.
svn path=/main/trunk/; revision=8379
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 2295116da00c1c33b49fae5e5c502cd25d916eea..96d6d7cfe635c4882dbd46fe467358474c708f1a 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-1874,14
+1874,10
@@
class config(object):
for x in mask_atoms:
if not match_from_list(x, pkg_list):
continue
- masked = True
if unmask_atoms:
for y in unmask_atoms:
if match_from_list(y, pkg_list):
- masked = False
- break
- if not masked:
- continue
+ return None
return x
return None