projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d0bce2
)
Fix slot handling at the beginning of match_from_list(). (trunk r6669)
author
Zac Medico
<zmedico@gentoo.org>
Wed, 30 May 2007 02:24:26 +0000
(
02:24
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 30 May 2007 02:24:26 +0000
(
02:24
-0000)
svn path=/main/branches/2.1.2/; revision=6670
pym/portage_dep.py
patch
|
blob
|
history
diff --git
a/pym/portage_dep.py
b/pym/portage_dep.py
index ec590f20f03ddbbe9e0a0e40ff18f3ee33b835c0..605dabff3586592465ca781872ec8f6a642f2faf 100644
(file)
--- a/
pym/portage_dep.py
+++ b/
pym/portage_dep.py
@@
-549,13
+549,12
@@
def match_from_list(mydep, candidate_list):
mycpv = dep_getcpv(mydep)
mycpv_cps = catpkgsplit(mycpv) # Can be None if not specific
- slot =
None
+ slot =
dep_getslot(mydep)
if not mycpv_cps:
cat, pkg = catsplit(mycpv)
ver = None
rev = None
- slot = dep_getslot(mydep)
else:
cat, pkg, ver, rev = mycpv_cps
if mydep == mycpv: