From: Arfrever Frehtes Taifersar Arahesis Date: Tue, 24 Dec 2013 08:27:58 +0000 (+0100) Subject: Fix ResourceWarning. X-Git-Tag: v2.2.8~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d2db1ad5a51d405f38b2158896f274b0bf08bd47;p=portage.git Fix ResourceWarning. --- diff --git a/bin/ebuild b/bin/ebuild index f8ac5b83b..262dab6d8 100755 --- a/bin/ebuild +++ b/bin/ebuild @@ -306,7 +306,7 @@ def stale_env_warning(): if ebuild_changed: open(os.path.join(tmpsettings['PORTAGE_BUILDDIR'], - '.ebuild_changed'), 'w') + '.ebuild_changed'), 'w').close() from portage.exception import PermissionDenied, \ PortagePackageException, UnsupportedAPIException