From 735934bfede08f37707a070f977837a9f76e3242 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 4 Apr 2010 08:04:39 +1000 Subject: build: removed some unused imports found by pyflakes thanks to Jelmer for pointing me at pyflakes --- buildtools/wafsamba/samba_asn1.py | 1 - buildtools/wafsamba/samba_errtable.py | 2 +- buildtools/wafsamba/samba_optimisation.py | 3 +-- 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') -- cgit