summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)