From 1de9e714756b65b1e15fae044bde065bb2572b16 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 8 Oct 2012 11:18:03 +0200 Subject: buildtools/wafsamba: only display 'ok' if the result is True Otherwise we print the raw value. metze Signed-off-by: Michael Adam --- buildtools/wafsamba/samba_autoconf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buildtools') diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 5d3cc5a688..76316d28e6 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: -- cgit