1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

build: Don't generate kerberos_implementation.py if building without python

It is unnecessary to generate kerberos_implementation.py when python is
disabled.

Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Aliaksei Karaliou 2019-01-23 04:55:58 -05:00 committed by Andrew Bartlett
parent b50f8390eb
commit 724c07fe13

View File

@ -3,6 +3,9 @@
import os
def configure(conf):
if conf.env.disable_python:
return
kerberos_py = conf.srcnode.abspath() + "/python/samba/provision/kerberos_implementation.py"
f = open(kerberos_py, 'w')