summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-09-29 16:32:12 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-09-29 16:32:12 +0000
commit0ffd5f078e0ac8ab317bd13d14e4c320f8315a78 (patch)
tree49c0c2a8ced98f5573efa4064cac2912f201113f
parent64593ae710a7b4af6d2b5dc6886d695499b72e30 (diff)
downloadportage-0ffd5f078e0ac8ab317bd13d14e4c320f8315a78.tar.gz
portage-0ffd5f078e0ac8ab317bd13d14e4c320f8315a78.tar.bz2
portage-0ffd5f078e0ac8ab317bd13d14e4c320f8315a78.zip
Adhere to USE flags passed into fetch()
svn path=/main/branches/2.0/; revision=2050
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index b54bb242a..aa6b89517 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -5457,7 +5457,8 @@ class portdbapi(dbapi):
print red("getfetchlist():")+" aux_get() error reading "+mypkg+"; aborting."
sys.exit(1)
- useflags = string.split(mysettings["USE"])
+ if useflags is None:
+ useflags = string.split(mysettings["USE"])
myurilist = portage_dep.paren_reduce(myuris)
myurilist = portage_dep.use_reduce(myurilist,uselist=useflags,matchall=all)