projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc6093e
)
Simplify None Package.slot handling in match_from_list().
author
Zac Medico
<zmedico@gentoo.org>
Fri, 30 May 2008 01:08:35 +0000
(
01:08
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 30 May 2008 01:08:35 +0000
(
01:08
-0000)
svn path=/main/trunk/; revision=10499
pym/portage/dep.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep.py
b/pym/portage/dep.py
index efabee2627b3ca61c86656fd4792996320bfeb82..d0e487afc135646f33bc606d42043ae44e53be80 100644
(file)
--- a/
pym/portage/dep.py
+++ b/
pym/portage/dep.py
@@
-885,8
+885,8
@@
def match_from_list(mydep, candidate_list):
candidate_list = mylist
mylist = []
for x in candidate_list:
- xslot = getattr(x, "slot",
Non
e)
- if xslot is
None and isinstance(x, basestring)
:
+ xslot = getattr(x, "slot",
Fals
e)
+ if xslot is
False
:
xslot = dep_getslot(x)
if xslot is not None and xslot != slot:
continue