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

index 91f0436f3ef2f0e6da1d6376291369829fca1a0a..6e7b6e19ce10868cfd4b499977dfd2e7114e5d6c 100644 (file)
@@ -234,6 +234,7 @@ _python_set_globals() {
        fi
 }
 _python_set_globals
+unset -f _python_set_globals
 
 # @FUNCTION: _python_validate_useflags
 # @INTERNAL