projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a1b978
)
Return early from config._getMaskAtom() as soon as a matching
author
Zac Medico
<zmedico@gentoo.org>
Fri, 2 Nov 2007 08:35:07 +0000
(08:35 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 2 Nov 2007 08:35:07 +0000
(08:35 -0000)
unmask atom is found. (trunk r8379)
svn path=/main/branches/2.1.2/; revision=8380
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 3bc20c0615af3e4ba4f31861142294f0282ee2af..0c7bde5855da1384a71c83504050c4f020f653c4 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-1883,14
+1883,10
@@
class config:
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