1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

lib/audit_logging: update to waf 2.0

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Alexander Bokovoy 2018-07-05 14:26:57 +03:00 committed by Andrew Bartlett
parent f495f64e2e
commit 4c7c10b2c5

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python
from waflib import Logs, Options, Utils
from waflib import Logs, Options, Errors
import samba3
def options(opt):
@ -28,7 +28,7 @@ def configure(conf):
"JSON support is required for the JSON "
"formatted audit log feature and the AD DC")
if not Options.options.without_ad_dc:
raise Utils.WafError('--without-json-audit requires '
raise Errors.WafError('--without-json-audit requires '
'--without-ad-dc. '
'Jansson JSON library is required for '
'building the AD DC')