1 |
Author: zmedico |
2 |
Date: 2008-10-08 16:16:35 +0000 (Wed, 08 Oct 2008) |
3 |
New Revision: 11656 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/_emerge/__init__.py |
7 |
Log: |
8 |
Since EbuildBuild no longer directs it's EbuildFetcher instance's output |
9 |
to the global fetch log, there's no need to schedule it on the fetch |
10 |
queue. |
11 |
|
12 |
|
13 |
Modified: main/trunk/pym/_emerge/__init__.py |
14 |
=================================================================== |
15 |
--- main/trunk/pym/_emerge/__init__.py 2008-10-08 03:27:43 UTC (rev 11655) |
16 |
+++ main/trunk/pym/_emerge/__init__.py 2008-10-08 16:16:35 UTC (rev 11656) |
17 |
@@ -2447,20 +2447,13 @@ |
18 |
self.wait() |
19 |
return |
20 |
|
21 |
- fetch_log = None |
22 |
- |
23 |
fetcher = EbuildFetcher(config_pool=self.config_pool, |
24 |
fetchall=opts.fetch_all_uri, |
25 |
fetchonly=opts.fetchonly, |
26 |
- background=self.background, logfile=fetch_log, |
27 |
+ background=self.background, |
28 |
pkg=pkg, scheduler=self.scheduler) |
29 |
|
30 |
- if self.background: |
31 |
- fetcher.addExitListener(self._fetch_exit) |
32 |
- self._current_task = fetcher |
33 |
- self.scheduler.fetch.schedule(fetcher) |
34 |
- else: |
35 |
- self._start_task(fetcher, self._fetch_exit) |
36 |
+ self._start_task(fetcher, self._fetch_exit) |
37 |
|
38 |
def _fetch_exit(self, fetcher): |
39 |
opts = self.opts |