From 3aa1975c5837a160b849d2b81fc7a4bcd7870155 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 19 Sep 2011 16:43:53 +0200 Subject: [PATCH] build: make wscript work with python 2.4 --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 47144a468bc..bc8d25bd465 100644 --- a/wscript +++ b/wscript @@ -241,7 +241,7 @@ def get_node_version(): return "%s.%s.%s%s" % ( node_major_version, node_minor_version, node_patch_version, - "-pre" if node_is_release == "0" else "" + node_is_release == "0" and "-pre" or "" )