python-single-r1.eclass: Unset global-setting function after use
authorMichał Górny <mgorny@gentoo.org>
Sun, 6 Dec 2015 15:45:17 +0000 (16:45 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 9 Dec 2015 20:41:16 +0000 (21:41 +0100)
eclass/python-single-r1.eclass

index d9fc34b0ed85a4aca383bea85e0fd0a7d1e3d3c9..a89926dbf51bb59cf80955b1ff33f922c0c2d4bc 100644 (file)
@@ -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> [...]