summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-06 16:45:17 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-09 21:41:16 +0100
commit364a3668775f4bb372dc40ff677df9a2b0d3ea7f (patch)
treea1be6147425e7b91d4591a4b85f25be1dd2f90fb /eclass
parentpython-any-r1.eclass: Mark eclass-generated variables read-only (diff)
downloadgentoo-364a3668775f4bb372dc40ff677df9a2b0d3ea7f.tar.gz
gentoo-364a3668775f4bb372dc40ff677df9a2b0d3ea7f.tar.bz2
gentoo-364a3668775f4bb372dc40ff677df9a2b0d3ea7f.zip
python-single-r1.eclass: Unset global-setting function after use
Diffstat (limited to 'eclass')
-rw-r--r--eclass/python-single-r1.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass
index d9fc34b0ed85..a89926dbf51b 100644
--- a/eclass/python-single-r1.eclass
+++ b/eclass/python-single-r1.eclass
@@ -255,6 +255,7 @@ _python_single_set_globals() {
fi
}
_python_single_set_globals
+unset -f _python_single_set_globals
# @FUNCTION: python_gen_usedep
# @USAGE: <pattern> [...]