Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
#!/usr/bin/env python
-from waflib import Logs, Options, Utils
+from waflib import Logs, Options, Errors
import samba3
def options(opt):
"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')