Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 13/13] distutils-r1.eclass: Unset local functions after use
Date: Sun, 06 Dec 2015 19:10:45
Message-Id: 1449428612-20538-14-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCHES] python-r1 suite clean up & impl reorder by "Michał Górny"
1 ---
2 eclass/distutils-r1.eclass | 1 +
3 1 file changed, 1 insertion(+)
4
5 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
6 index 36b3436..be94c46 100644
7 --- a/eclass/distutils-r1.eclass
8 +++ b/eclass/distutils-r1.eclass
9 @@ -678,6 +678,7 @@ _distutils-r1_run_common_phase() {
10 done
11 }
12 python_foreach_impl _distutils_try_impl
13 + unset -f _distutils_try_impl
14
15 local PYTHON_COMPAT=( "${best_impl}" )
16 fi
17 --
18 2.6.3