build: Remove bld.gen_python_environments()
[nivanova/samba-autobuild/.git] / buildtools / wafsamba / samba_python.py
index 21fd3635e79a02e6df1f6996820676392f26720d..b29a9d75745268ff9f765dd8d5e854cf330b815b 100644 (file)
@@ -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