lib/audit_logging: update to waf 2.0
authorAlexander Bokovoy <ab@samba.org>
Thu, 5 Jul 2018 11:26:57 +0000 (14:26 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Sep 2018 04:37:27 +0000 (06:37 +0200)
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/audit_logging/wscript

index 07a6caf95b6140d2152da96a3ed3c2fa7ccea597..f99df055731540c72b035512b6207236e2051e23 100644 (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')