emerge: spawn nofetch for --pretend --fetch
authorZac Medico <zmedico@gentoo.org>
Tue, 1 Feb 2011 00:11:20 +0000 (16:11 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 2 Feb 2011 23:26:05 +0000 (15:26 -0800)
This is part of bug 353334.

pym/portage/package/ebuild/fetch.py

index 99e2a8645de02bef62219f38b58e849145f62d2f..c33375ca6afca6fb70f482dc5cea8b550f527449 100644 (file)
@@ -1107,6 +1107,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0,
                                        noiselevel=-1)
 
                        if listonly:
+                               failed_files.add(myfile)
                                continue
                        elif fetchonly:
                                failed_files.add(myfile)