summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_autoconf.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/samba_autoconf.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/samba_autoconf.py')
-rw-r--r--buildtools/wafsamba/samba_autoconf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index 1babe7b62d..91d8a56fe3 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -1,6 +1,6 @@
# a waf tool to add autoconf-like macros to the configure section
-import Build, os, Options, preproc, Logs
+import Build, os, sys, Options, preproc, Logs
import string
from Configure import conf
from samba_utils import *