projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f97493f
)
Documenting the loop a bit
author
Marius Mauch
<genone@gentoo.org>
Wed, 10 Jan 2007 09:07:57 +0000
(09:07 -0000)
committer
Marius Mauch
<genone@gentoo.org>
Wed, 10 Jan 2007 09:07:57 +0000
(09:07 -0000)
svn path=/main/trunk/; revision=5515
pym/portage_dep.py
patch
|
blob
|
history
diff --git
a/pym/portage_dep.py
b/pym/portage_dep.py
index a528f70262cc0e9375b71f68637b790f32087e74..432a7d44f83ae21a9b89befe422acc0bd211fa52 100644
(file)
--- a/
pym/portage_dep.py
+++ b/
pym/portage_dep.py
@@
-588,6
+588,9
@@
def match_from_list(mydep, candidate_list):
if xcpv == mycpv:
mylist.append(x)
else:
+ # xcpv may not be a proper cpv, but cpvequal needs it to be
+ # reducing it should always work, in worst case it stops at
+ # the first digit. Might cause a minor peformance hit though.
while not isspecific(xcpv):
xcpv = xcpv[:-1]
if cpvequal(xcpv, mycpv):