projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1dcd47
)
Make match_from_list() strip "!!" when appropriate for strong blocks.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 30 Aug 2010 13:06:07 +0000
(06:06 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 30 Aug 2010 13:06:07 +0000
(06:06 -0700)
pym/portage/dep/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep/__init__.py
b/pym/portage/dep/__init__.py
index 382a4f611e3e00562dcf4abf6baa790d7915128c..8e2b2ef49c9ea90c556bb919d7831115c1969e8b 100644
(file)
--- a/
pym/portage/dep/__init__.py
+++ b/
pym/portage/dep/__init__.py
@@
-1646,7
+1646,10
@@
def match_from_list(mydep, candidate_list):
from portage.util import writemsg
if "!" == mydep[:1]:
- mydep = mydep[1:]
+ if "!" == mydep[1:2]:
+ mydep = mydep[2:]
+ else:
+ mydep = mydep[1:]
if not isinstance(mydep, Atom):
mydep = Atom(mydep, allow_wildcard=True)