Don't return from fetch() due to fetch restriction when in "listonly" mode.
authorZac Medico <zmedico@gentoo.org>
Mon, 13 Oct 2008 00:21:01 +0000 (00:21 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 13 Oct 2008 00:21:01 +0000 (00:21 -0000)
svn path=/main/trunk/; revision=11687

pym/portage/__init__.py

index b44f8fa86f17903833b6e2b49766ddb97f5599c4..2471ab3511c83f21ff346858d490d44fc9c21e77 100644 (file)
@@ -4095,6 +4095,8 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks",
                                                        mysettings.pop("EBUILD_PHASE", None)
                                                else:
                                                        mysettings["EBUILD_PHASE"] = ebuild_phase
+                               if listonly:
+                                       continue
                        elif listonly:
                                continue
                        elif not filedict[myfile]: