From 935cf770b009d4fe1ff4088f5432ac520ecf7334 Mon Sep 17 00:00:00 2001 From: nakeee Date: Tue, 3 Mar 2009 20:28:51 +0000 Subject: [PATCH] Small fix for last commit git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2539 8ced0084-cf51-0410-be5f-012b33b47a6e --- SconsTests/utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SconsTests/utils.py b/SconsTests/utils.py index 58078c6c75..e7b46e84f1 100644 --- a/SconsTests/utils.py +++ b/SconsTests/utils.py @@ -95,7 +95,10 @@ def CheckPortaudio(context, version): } """, '.c')[1] - ret = (found and (version <= found)) + if found: + ret = (version <= found) + else: + ret = 0 context.Result(ret) return int(ret)