1 |
commit: d2db1ad5a51d405f38b2158896f274b0bf08bd47 |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Tue Dec 24 08:27:58 2013 +0000 |
4 |
Commit: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
5 |
CommitDate: Tue Dec 24 08:27:58 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d2db1ad5 |
7 |
|
8 |
Fix ResourceWarning. |
9 |
|
10 |
--- |
11 |
bin/ebuild | 2 +- |
12 |
1 file changed, 1 insertion(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/bin/ebuild b/bin/ebuild |
15 |
index f8ac5b8..262dab6 100755 |
16 |
--- a/bin/ebuild |
17 |
+++ b/bin/ebuild |
18 |
@@ -306,7 +306,7 @@ def stale_env_warning(): |
19 |
|
20 |
if ebuild_changed: |
21 |
open(os.path.join(tmpsettings['PORTAGE_BUILDDIR'], |
22 |
- '.ebuild_changed'), 'w') |
23 |
+ '.ebuild_changed'), 'w').close() |
24 |
|
25 |
from portage.exception import PermissionDenied, \ |
26 |
PortagePackageException, UnsupportedAPIException |