]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
wafsamba: Adjust value type from string name(s) to actual
authorAndreas Schneider <asn@samba.org>
Tue, 29 Apr 2025 14:15:54 +0000 (16:15 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 16 May 2025 09:33:41 +0000 (09:33 +0000)
Signed-off-by: Noel Power <noel.power@suse.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
buildtools/wafsamba/wscript
wscript

index 95a4f3f3525dff1b807b96185ff3a6f65d2e5785..3d49907e3bb929f70a5219aaaaf1388c28ec81d6 100644 (file)
@@ -242,7 +242,7 @@ Currently the only tested value is 'smbtorture,smbd/smbd' for Samba'''),
 
     gr.add_option('--why-needed',
                   help=("TARGET:DEPENDENCY check why TARGET needs DEPENDENCY"),
-                  action='store', type='str', dest='WHYNEEDED', default=None)
+                  action='store', type=str, dest='WHYNEEDED', default=None)
 
     gr.add_option('--show-duplicates',
                   help=("Show objects which are included in multiple binaries or libraries"),
@@ -290,7 +290,7 @@ Currently the only tested value is 'smbtorture,smbd/smbd' for Samba'''),
                    action='store_true', dest='SIGN_RELEASE')
     gr.add_option('--tag',
                    help='tag release in git at the same time',
-                   type='string', action='store', dest='TAG_RELEASE')
+                   type=str, action='store', dest='TAG_RELEASE')
 
     opt.add_option('--disable-python',
                     help='do not generate python modules',
diff --git a/wscript b/wscript
index 1f0a41fb05294446edf079eab053a8b767b4ff09..a6013fcf442029230ee4eb4e4c0a8a48089f1d92 100644 (file)
--- a/wscript
+++ b/wscript
@@ -91,7 +91,7 @@ def options(opt):
 
     opt.add_option('--with-system-mitkdc',
                    help=('Specify the path to the krb5kdc binary from MIT Kerberos'),
-                   type="string",
+                   type=str,
                    dest='with_system_mitkdc',
                    default=None)
 
@@ -152,7 +152,7 @@ def options(opt):
 
     opt.add_option('--vendor-suffix',
                    help=('Specify a vendor (or packager) name to include in the version string'),
-                   type="string",
+                   type=str,
                    dest='SAMBA_VERSION_VENDOR_SUFFIX',
                    default=None)