1 |
Author: zmedico |
2 |
Date: 2008-10-06 20:58:29 +0000 (Mon, 06 Oct 2008) |
3 |
New Revision: 11644 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/__init__.py |
7 |
Log: |
8 |
In fetch(), never call the pkg_nofetch phase when in "listonly" mode. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/__init__.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/__init__.py 2008-10-06 20:51:23 UTC (rev 11643) |
14 |
+++ main/trunk/pym/portage/__init__.py 2008-10-06 20:58:29 UTC (rev 11644) |
15 |
@@ -4057,7 +4057,7 @@ |
16 |
|
17 |
if listonly: |
18 |
writemsg_stdout("\n", noiselevel=-1) |
19 |
- if fetched != 2: |
20 |
+ elif fetched != 2: |
21 |
if restrict_fetch: |
22 |
print "\n!!!", mysettings["CATEGORY"] + "/" + \ |
23 |
mysettings["PF"], "has fetch restriction turned on." |
24 |
@@ -4075,8 +4075,6 @@ |
25 |
mysettings.pop("EBUILD_PHASE", None) |
26 |
else: |
27 |
mysettings["EBUILD_PHASE"] = ebuild_phase |
28 |
- elif listonly: |
29 |
- continue |
30 |
elif not filedict[myfile]: |
31 |
writemsg("Warning: No mirrors available for file" + \ |
32 |
" '%s'\n" % (myfile), noiselevel=-1) |