buildtools: Remove semicolons
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 29 Aug 2023 08:47:58 +0000 (20:47 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 13 Oct 2023 03:50:31 +0000 (03:50 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
buildtools/wafsamba/samba_abi.py
buildtools/wafsamba/samba_autoconf.py
buildtools/wafsamba/samba_conftests.py
buildtools/wafsamba/samba_perl.py
buildtools/wafsamba/samba_pidl.py

index 682f4e897b523f9259efa202a532426c66bcdeec..2d9505d255c808636a5e3cdc304641686c780d12 100644 (file)
@@ -225,7 +225,7 @@ def abi_write_vscript(f, libname, current_version, versions, symmap, abi_match):
         if k in sorted(invmap.keys()):
             f.write("\tglobal:\n")
             for s in invmap.get(k, []):
-                f.write("\t\t%s;\n" % s);
+                f.write("\t\t%s;\n" % s)
         f.write("}%s;\n\n" % last_key)
         last_key = " %s" % symver
     f.write("%s {\n" % current_version)
index 7cebcca40c528359e1066a98c1768a37abbc37f0..546b0daf932c7b0a57bd800ef74bc8ac286163b0 100644 (file)
@@ -963,10 +963,10 @@ def CURRENT_CFLAGS(bld, target, cflags,
     if not 'EXTRA_CFLAGS' in bld.env:
         list = []
     else:
-        list = bld.env['EXTRA_CFLAGS'];
+        list = bld.env['EXTRA_CFLAGS']
     ret.extend(list)
     if not allow_warnings and 'PICKY_CFLAGS' in bld.env:
-        list = bld.env['PICKY_CFLAGS'];
+        list = bld.env['PICKY_CFLAGS']
         ret.extend(list)
     if hide_symbols and bld.env.HAVE_VISIBILITY_ATTR:
         ret.append(bld.env.VISIBILITY_CFLAGS)
index c5e3fc9ecf63e946c034c6c3ec99acccda5ca4a2..38ce20d968f0b35857cce1a80ea25d57dcc90253 100644 (file)
@@ -84,7 +84,7 @@ def CHECK_ICONV(conf, define='HAVE_NATIVE_ICONV'):
 @conf
 def CHECK_LARGEFILE(conf, define='HAVE_LARGEFILE'):
     '''see what we need for largefile support'''
-    getconf_cflags = conf.CHECK_COMMAND(['getconf', 'LFS_CFLAGS']);
+    getconf_cflags = conf.CHECK_COMMAND(['getconf', 'LFS_CFLAGS'])
     if getconf_cflags is not False:
         if (conf.CHECK_CODE('if (sizeof(off_t) < 8) return 1',
                             define='WORKING_GETCONF_LFS_CFLAGS',
index b4263137b591ea27bdb2bc435b7c68c5694f12ba..2139d143fc78f8b05b2d5b58659a714e56876e62 100644 (file)
@@ -34,18 +34,18 @@ def SAMBA_CHECK_PERL(conf, mandatory=True, version=(5,0,0)):
 
     perl_arch_install_dir = None
     if vendor_prefix == conf.env.PREFIX:
-        perl_arch_install_dir = check_perl_config_var('vendorarch');
+        perl_arch_install_dir = check_perl_config_var('vendorarch')
     if perl_arch_install_dir is None:
-        perl_arch_install_dir = "${LIBDIR}/perl5";
+        perl_arch_install_dir = "${LIBDIR}/perl5"
     conf.start_msg("PERL_ARCH_INSTALL_DIR: ")
     conf.end_msg("'%s'" % (perl_arch_install_dir), 'GREEN')
     conf.env.PERL_ARCH_INSTALL_DIR = perl_arch_install_dir
 
     perl_lib_install_dir = None
     if vendor_prefix == conf.env.PREFIX:
-        perl_lib_install_dir = check_perl_config_var('vendorlib');
+        perl_lib_install_dir = check_perl_config_var('vendorlib')
     if perl_lib_install_dir is None:
-        perl_lib_install_dir = "${DATADIR}/perl5";
+        perl_lib_install_dir = "${DATADIR}/perl5"
     conf.start_msg("PERL_LIB_INSTALL_DIR: ")
     conf.end_msg("'%s'" % (perl_lib_install_dir), 'GREEN')
     conf.env.PERL_LIB_INSTALL_DIR = perl_lib_install_dir
index 0ce860ca6ae629a0de1247e4b08c68a4400ae8dc..a161a77bcb53380b812d12d3d86c6b1303d5ff25 100644 (file)
@@ -12,7 +12,7 @@ def SAMBA_PIDL(bld, pname, source,
     '''Build a IDL file using pidl.
        This will produce up to 13 output files depending on the options used'''
 
-    bname = source[0:-4]; # strip off the .idl suffix
+    bname = source[0:-4] # strip off the .idl suffix
     bname = os.path.basename(bname)
     name = "%s_%s" % (pname, bname.upper())