Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:python-cleanup-r2 commit in: eclass/
Date: Wed, 09 Dec 2015 19:32:56
Message-Id: 1449689373.193eb1bc140ca6087507bc7c504def14515e599a.mgorny@gentoo
1 commit: 193eb1bc140ca6087507bc7c504def14515e599a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 6 15:38:40 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 9 19:29:33 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193eb1bc
7
8 distutils-r1.eclass: Unset local functions after use
9
10 eclass/distutils-r1.eclass | 1 +
11 1 file changed, 1 insertion(+)
12
13 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
14 index 36b3436..be94c46 100644
15 --- a/eclass/distutils-r1.eclass
16 +++ b/eclass/distutils-r1.eclass
17 @@ -678,6 +678,7 @@ _distutils-r1_run_common_phase() {
18 done
19 }
20 python_foreach_impl _distutils_try_impl
21 + unset -f _distutils_try_impl
22
23 local PYTHON_COMPAT=( "${best_impl}" )
24 fi