summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-02-15 16:37:48 +1300
committerAndrew Bartlett <abartlet@samba.org>2019-03-21 04:06:14 +0000
commitfdb6305c861a088f797d29889c51c0553cc048be (patch)
tree344ffc65c4bb6614f357bccda5456fdfd835baeb /buildtools
parent270d04e4ea0e3a7f4443557f5ff65e6f9e426295 (diff)
downloadsamba-fdb6305c861a088f797d29889c51c0553cc048be.tar.gz
build: Remove bld.gen_python_environments()
This was part of --extra-python support. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_python.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py
index 21fd3635e79..b29a9d75745 100644
--- a/buildtools/wafsamba/samba_python.py
+++ b/buildtools/wafsamba/samba_python.py
@@ -160,13 +160,3 @@ def pyembed_libname(bld, name):
Build.BuildContext.pyembed_libname = pyembed_libname
-def gen_python_environments(bld, extra_env_vars=()):
- """Generate all Python environments
-
- To be used in a for loop. Normally, the loop body will be executed once.
-
- When --extra-python is used, the body will additionaly be executed
- with the extra-python environment active.
- """
- yield
-Build.BuildContext.gen_python_environments = gen_python_environments