summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wafsamba.py
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-01-05 12:16:15 +0100
committerStefan Metzmacher <metze@samba.org>2011-01-05 12:30:23 +0100
commite0a9b58de8bd86122d17c0330cb1f0330207c023 (patch)
tree55db7d6b38cefb421dee18ab8e558718179dc1cd /buildtools/wafsamba/wafsamba.py
parentd89e7622407539786af72ea05dd1de7de9154228 (diff)
downloadsamba-e0a9b58de8bd86122d17c0330cb1f0330207c023.tar.gz
samba-e0a9b58de8bd86122d17c0330cb1f0330207c023.tar.bz2
samba-e0a9b58de8bd86122d17c0330cb1f0330207c023.zip
buildtools/wafsamba: import 'sys' and 'Logs' if we use them
We should avoid generating a backtrace in a normal error case, just because sys.exit(1) isn't known. metze
Diffstat (limited to 'buildtools/wafsamba/wafsamba.py')
-rw-r--r--buildtools/wafsamba/wafsamba.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index c532c4b413..571cd480c7 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -1,7 +1,7 @@
# a waf tool to add autoconf-like macros to the configure section
# and for SAMBA_ macros for building libraries, binaries etc
-import Build, os, Options, Task, Utils, cc, TaskGen, fnmatch, re, shutil, Logs, Constants
+import Build, os, sys, Options, Task, Utils, cc, TaskGen, fnmatch, re, shutil, Logs, Constants
from Configure import conf
from Logs import debug
from samba_utils import SUBST_VARS_RECURSIVE