summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 18ea6e838..b55cebd94 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -3339,6 +3339,9 @@ _size_suffix_map = {
def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",use_locks=1, try_mirrors=1):
"fetch files. Will use digest file if available."
+ if not myuris:
+ return 1
+
features = mysettings.features
restrict = mysettings.get("PORTAGE_RESTRICT","").split()