diff options
author | Thomas Nagy <tnagy@waf.io> | 2015-10-27 20:46:46 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-10-28 12:52:17 +0100 |
commit | 2666d06f292303a57643a8ced87b8a91df2ffce1 (patch) | |
tree | 4c7eaf2bae406786baea84f1d5c92304e0eefc7d /pidl | |
parent | 859e3415b38538ff6c023e4a56570d94a4fe4432 (diff) | |
download | samba-2666d06f292303a57643a8ced87b8a91df2ffce1.tar.gz |
build:wafsamba: removed most import * statements
The 'import *' statements make it more difficult to reason about
the modules and tends to conceal bugs. These changes enable running
pyflakes against most of the build scripts.
Signed-off-by: Thomas Nagy <tnagy@waf.io>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Oct 28 12:52:17 CET 2015 on sn-devel-104
Diffstat (limited to 'pidl')
-rw-r--r-- | pidl/wscript | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pidl/wscript b/pidl/wscript index 27cb230efb1..f4ff902812c 100644 --- a/pidl/wscript +++ b/pidl/wscript @@ -1,13 +1,12 @@ #!/usr/bin/env python -import os, sys, Logs +import os, Logs from samba_utils import MODE_755 # This function checks if a perl module is installed on the system. def check_system_perl_module(conf, module, version=None): bundle_name = module.replace('::', '_') module_check = module - found = False # Create module string with version if version: @@ -65,8 +64,6 @@ def build(bld): # use perl to build the manpages bld.env.pidl_srcdir = os.path.join(bld.srcnode.abspath(), 'pidl') - blib_bld = os.path.join(bld.srcnode.abspath(bld.env), 'pidl/blib') - bld.SET_BUILD_GROUP('final') if 'POD2MAN' in bld.env and bld.env['POD2MAN'] != '': for src, manpage in pidl_manpages.iteritems(): |