summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2017-09-13 11:37:34 +0300
committerStefan Metzmacher <metze@samba.org>2017-09-14 22:29:39 +0200
commit3f0938b9389dc9c0ca5e4acf0451f14050a7506f (patch)
treec8481346e4f1cf51d2e779466e55bfb9a3dd8e61 /source4/librpc
parent9516d4229f85c7f19e1af49f0cc36ac3656d5477 (diff)
downloadsamba-3f0938b9389dc9c0ca5e4acf0451f14050a7506f.tar.gz
Install dcerpc/__init__.py for all Python environments
Also fix whitespace. We use tabs, not spaces in Python/waf code. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13030 Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Sep 14 22:29:39 CEST 2017 on sn-devel-144
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/wscript_build11
1 files changed, 6 insertions, 5 deletions
diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build
index e341432fa14..a381a65e3fa 100644
--- a/source4/librpc/wscript_build
+++ b/source4/librpc/wscript_build
@@ -407,9 +407,10 @@ for env in bld.gen_python_environments():
)
if bld.PYTHON_BUILD_IS_ENABLED():
- bld.SAMBA_SCRIPT('python_dcerpc_init',
- pattern='rpc/dcerpc.py',
- installdir='python/samba/dcerpc',
- installname='__init__.py')
+ for env in bld.gen_python_environments():
+ bld.SAMBA_SCRIPT('python_dcerpc_init',
+ pattern='rpc/dcerpc.py',
+ installdir='python/samba/dcerpc',
+ installname='__init__.py')
- bld.INSTALL_FILES('${PYTHONARCHDIR}/samba/dcerpc', 'rpc/dcerpc.py', destname='__init__.py')
+ bld.INSTALL_FILES('${PYTHONARCHDIR}/samba/dcerpc', 'rpc/dcerpc.py', destname='__init__.py')