commit:     193eb1bc140ca6087507bc7c504def14515e599a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  6 15:38:40 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec  9 19:29:33 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=193eb1bc

distutils-r1.eclass: Unset local functions after use

 eclass/distutils-r1.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 36b3436..be94c46 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -678,6 +678,7 @@ _distutils-r1_run_common_phase() {
                        done
                }
                python_foreach_impl _distutils_try_impl
+               unset -f _distutils_try_impl
 
                local PYTHON_COMPAT=( "${best_impl}" )
        fi

Reply via email to