summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-06 16:38:40 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-09 21:41:16 +0100
commitd3bcceb795616ae15fe7752f1e034cb47dc96c29 (patch)
tree65c864969eda49921fe55c42d9a0b119fd926202 /eclass/distutils-r1.eclass
parentpython-r1.eclass: Mark eclass-generated variables read-only (diff)
downloadgentoo-d3bcceb795616ae15fe7752f1e034cb47dc96c29.tar.gz
gentoo-d3bcceb795616ae15fe7752f1e034cb47dc96c29.tar.bz2
gentoo-d3bcceb795616ae15fe7752f1e034cb47dc96c29.zip
distutils-r1.eclass: Unset local functions after use
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 36b343663894..be94c46cb3e0 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