projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34fef8e
)
Fix isvalidatom to properly identify an invalid atom such as
author
Zac Medico
<zmedico@gentoo.org>
Sun, 15 Feb 2009 04:59:03 +0000
(
04:59
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 15 Feb 2009 04:59:03 +0000
(
04:59
-0000)
'dev-java/nanoxml*'. Thanks to Vlastimil Babka <caster@g.o> for reporting.
svn path=/main/trunk/; revision=12614
pym/portage/dep.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep.py
b/pym/portage/dep.py
index 9c9c1438090054e1983e63881ea3f56f73741f1a..3388d8404ce4badf83c7f16d6fd1c05f4ea2e0ac 100644
(file)
--- a/
pym/portage/dep.py
+++ b/
pym/portage/dep.py
@@
-795,6
+795,8
@@
def isvalidatom(atom, allow_blockers=False):
mycpv_cps[0] = "null"
if not mycpv_cps:
mycpv_cps = catpkgsplit(cpv)
+ if mycpv_cps is None:
+ return 0
operator = get_operator(atom)
if operator: