distutils-r1.eclass: Unset local functions after use
authorMichał Górny <mgorny@gentoo.org>
Sun, 6 Dec 2015 15:38:40 +0000 (16:38 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 9 Dec 2015 20:41:16 +0000 (21:41 +0100)
eclass/distutils-r1.eclass

index 36b3436638941c0770e14dc33e18f1785c6eabe2..be94c46cb3e0d0e37d762b34cfae0e5af136302c 100644 (file)
@@ -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