projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd731ce
)
Fix isvalidatom() logic from previous commit to avoid false positives.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 15 Feb 2009 05:01:42 +0000
(
05:01
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 15 Feb 2009 05:01:42 +0000
(
05:01
-0000)
svn path=/main/trunk/; revision=12615
pym/portage/dep.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep.py
b/pym/portage/dep.py
index 3388d8404ce4badf83c7f16d6fd1c05f4ea2e0ac..bde7f9c2ee299fade5245190c6e335f0f536ba1d 100644
(file)
--- a/
pym/portage/dep.py
+++ b/
pym/portage/dep.py
@@
-795,7
+795,7
@@
def isvalidatom(atom, allow_blockers=False):
mycpv_cps[0] = "null"
if not mycpv_cps:
mycpv_cps = catpkgsplit(cpv)
- if mycpv_cps is None:
+ if mycpv_cps is None
and cpv != atom
:
return 0
operator = get_operator(atom)