aboutsummaryrefslogtreecommitdiffstats
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2017-02-08 12:01:50 -0800
committerJeremy Allison <jra@samba.org>2017-02-09 20:04:12 +0100
commit3e2a36774f44cf711611fcd3cd3c2c66b9efd662 (patch)
tree0a78ba6a3857ffb065c57064bb9f492d8c312864 /buildtools/wafsamba
parent468301bedda32057c12a2007f5500205ff8b0252 (diff)
downloadsamba-3e2a36774f44cf711611fcd3cd3c2c66b9efd662.tar.gz
samba-3e2a36774f44cf711611fcd3cd3c2c66b9efd662.tar.xz
samba-3e2a36774f44cf711611fcd3cd3c2c66b9efd662.zip
wafsamba: Remove 2010 comments that seems not accurate anymore
In my tests default value is correctly used and if we provide explicitly a --with it will comply with the store_true and if we provide --without then it will comply with the store_false Change-Id: I820a7f2f08c51ec23b694bce7009c3891d4ab8ef Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_utils.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py
index f5c0c53a75e..0f95c125854 100644
--- a/buildtools/wafsamba/samba_utils.py
+++ b/buildtools/wafsamba/samba_utils.py
@@ -689,8 +689,6 @@ def samba_add_onoff_option(opt, option, help=(), dest=None, default=True,
with_val = "--%s-%s" % (with_name, option)
without_val = "--%s-%s" % (without_name, option)
- #FIXME: This is broken and will always default to "default" no matter if
- # --with or --without is chosen.
opt.add_option(with_val, help=help, action="store_true", dest=dest,
default=default)
opt.add_option(without_val, help=SUPPRESS_HELP, action="store_false",