summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-04 08:04:39 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:24 +1000
commit735934bfede08f37707a070f977837a9f76e3242 (patch)
tree3253cb29283af0bd5ce8a44f7c3f32b5c8bb5d6d /buildtools/wafsamba
parent2bf15566c629587992fa3c71cc5261f2cea300be (diff)
downloadsamba-735934bfede08f37707a070f977837a9f76e3242.tar.gz
samba-735934bfede08f37707a070f977837a9f76e3242.tar.bz2
samba-735934bfede08f37707a070f977837a9f76e3242.zip
build: removed some unused imports found by pyflakes
thanks to Jelmer for pointing me at pyflakes
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_asn1.py1
-rw-r--r--buildtools/wafsamba/samba_errtable.py2
-rw-r--r--buildtools/wafsamba/samba_optimisation.py3
3 files changed, 2 insertions, 4 deletions
diff --git a/buildtools/wafsamba/samba_asn1.py b/buildtools/wafsamba/samba_asn1.py
index 3bbf8a6503..eb17f6bfe3 100644
--- a/buildtools/wafsamba/samba_asn1.py
+++ b/buildtools/wafsamba/samba_asn1.py
@@ -1,6 +1,5 @@
# samba ASN1 rules
-from TaskGen import before
import Build, os
from samba_utils import *
from samba_autoconf import *
diff --git a/buildtools/wafsamba/samba_errtable.py b/buildtools/wafsamba/samba_errtable.py
index b8c60316b3..78480221b6 100644
--- a/buildtools/wafsamba/samba_errtable.py
+++ b/buildtools/wafsamba/samba_errtable.py
@@ -1,5 +1,5 @@
# waf build tool for building .et files with compile_et
-import Build, os
+import Build
from samba_utils import *
def SAMBA_ERRTABLE(bld, name, source):
diff --git a/buildtools/wafsamba/samba_optimisation.py b/buildtools/wafsamba/samba_optimisation.py
index d95ddaaa81..8e8012c955 100644
--- a/buildtools/wafsamba/samba_optimisation.py
+++ b/buildtools/wafsamba/samba_optimisation.py
@@ -6,9 +6,8 @@
# overall this makes some build tasks quite a bit faster
-from TaskGen import feature, before, after
+from TaskGen import feature, after
import preproc
-import os
kak = {}
@feature('cc', 'cxx')