1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

buildtools/wafsamba: only display 'ok' if the result is True

Otherwise we print the raw value.

metze

Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Stefan Metzmacher 2012-10-08 11:18:03 +02:00 committed by Michael Adam
parent e3a48bb5f6
commit 1de9e71475

View File

@ -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: