From 4c7c10b2c53b85ca257515abc5544d22b7ab0865 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Thu, 5 Jul 2018 14:26:57 +0300 Subject: [PATCH] lib/audit_logging: update to waf 2.0 Signed-off-by: Alexander Bokovoy Reviewed-by: Andrew Bartlett --- lib/audit_logging/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/audit_logging/wscript b/lib/audit_logging/wscript index 07a6caf95b6..f99df055731 100644 --- a/lib/audit_logging/wscript +++ b/lib/audit_logging/wscript @@ -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')