1 |
Author: zmedico |
2 |
Date: 2009-04-30 22:00:48 +0000 (Thu, 30 Apr 2009) |
3 |
New Revision: 13576 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.6/pym/_emerge/__init__.py |
7 |
Log: |
8 |
Remove unnecessary doebuild_environment() call from EbuildFetchonly.execute() |
9 |
since PORTAGE_RESTRICT is calculated by config.setcpv() now. (trunk r13575) |
10 |
|
11 |
Modified: main/branches/2.1.6/pym/_emerge/__init__.py |
12 |
=================================================================== |
13 |
--- main/branches/2.1.6/pym/_emerge/__init__.py 2009-04-30 21:59:26 UTC (rev 13575) |
14 |
+++ main/branches/2.1.6/pym/_emerge/__init__.py 2009-04-30 22:00:48 UTC (rev 13576) |
15 |
@@ -1722,9 +1722,6 @@ |
16 |
ebuild_path = portdb.findname(pkg.cpv) |
17 |
settings.setcpv(pkg) |
18 |
debug = settings.get("PORTAGE_DEBUG") == "1" |
19 |
- use_cache = 1 # always true |
20 |
- portage.doebuild_environment(ebuild_path, "fetch", |
21 |
- settings["ROOT"], settings, debug, use_cache, portdb) |
22 |
restrict_fetch = 'fetch' in settings['PORTAGE_RESTRICT'].split() |
23 |
|
24 |
if restrict_fetch: |