summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-06 16:45:28 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-09 21:41:16 +0100
commitb60ce06435d192a7263082b624b18a24131fa315 (patch)
tree8e3062f7f99b175ccf9782c89042a051697dc5bb
parentpython-single-r1.eclass: Mark eclass-generated variables read-only (diff)
downloadgentoo-b60ce06435d192a7263082b624b18a24131fa315.tar.gz
gentoo-b60ce06435d192a7263082b624b18a24131fa315.tar.bz2
gentoo-b60ce06435d192a7263082b624b18a24131fa315.zip
python-r1.eclass: Unset global-setting function after use
-rw-r--r--eclass/python-r1.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 91f0436f3ef..6e7b6e19ce1 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -234,6 +234,7 @@ _python_set_globals() {
fi
}
_python_set_globals
+unset -f _python_set_globals
# @FUNCTION: _python_validate_useflags
# @INTERNAL