summaryrefslogtreecommitdiff
path: root/third_party/wscript
diff options
context:
space:
mode:
authorSwen Schillig <swen@linux.ibm.com>2018-11-26 20:14:21 +0100
committerAlexander Bokovoy <ab@samba.org>2018-12-04 18:45:38 +0100
commitdfbfb7eb941b68ce75adc3ece25915b2eefaf886 (patch)
treeb3697e66a1350f9edc0ec415c2a27d3190fb236d /third_party/wscript
parent5517d60653b0aa25a354c3a35cbfb2aa89afb41a (diff)
downloadsamba-dfbfb7eb941b68ce75adc3ece25915b2eefaf886.tar.gz
waf: Utils package not defined
Fix the package name for the WafError routine. Signed-off-by: Swen Schillig <swen@linux.ibm.com> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Tue Dec 4 18:45:38 CET 2018 on sn-devel-144
Diffstat (limited to 'third_party/wscript')
-rw-r--r--third_party/wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/wscript b/third_party/wscript
index c4744b7a589..f7a6daff0dd 100644
--- a/third_party/wscript
+++ b/third_party/wscript
@@ -3,7 +3,7 @@
import os
import sys
import samba_git
-from waflib import Options, Utils
+from waflib import Options, Errors
# work out what python external libraries we need to install
external_pkgs = {
@@ -29,12 +29,12 @@ def find_third_party_module(conf, module, package):
__import__(module)
except ImportError:
if samba_git.has_submodules(conf.srcnode.abspath()):
- raise Utils.WafError("""\
+ raise Errors.WafError("""\
Unable to find Python module '%s'. Please install the system package or check \
out the relevant submodule by running 'git submodule update --init'.
""" % module)
else:
- raise Utils.WafError("""\
+ raise Errors.WafError("""\
Unable to find Python module '%s'. Please install the system package or place a copy in
%s.
""" % (module, package))