summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 663741e90..ad2c72c1c 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2143,6 +2143,8 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
print "!!! manually. See the comments in" + \
" the ebuild for more information.\n"
spawn(EBUILD_SH_BINARY + " nofetch", mysettings)
+ if listonly:
+ return 0
if (fetched!=2) and not listonly:
if restrict_fetch:
pass