From: Stefan Metzmacher Date: Mon, 8 Oct 2012 09:18:03 +0000 (+0200) Subject: buildtools/wafsamba: only display 'ok' if the result is True X-Git-Tag: ldb-1.1.14~226 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1de9e714756b65b1e15fae044bde065bb2572b16;p=thirdparty%2Fsamba.git buildtools/wafsamba: only display 'ok' if the result is True Otherwise we print the raw value. metze Signed-off-by: Michael Adam --- diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 5d3cc5a6882..76316d28e67 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -62,8 +62,8 @@ def COMPOUND_END(conf, result): conf.check_message_1 = conf.saved_check_message_1 conf.check_message_2 = conf.saved_check_message_2 p = conf.check_message_2 - if result: - p('ok ') + if result is True: + p('ok') elif not result: p('not found', 'YELLOW') else: